Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d4a2a1014d46
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cd55ae957b12
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 17, 2021

  1. Copy the full SHA
    3d24a90 View commit details
  2. Copy the full SHA
    533baea View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cd55ae9 View commit details
Showing with 12 additions and 13 deletions.
  1. +12 −13 pkgs/development/python-modules/digitalocean/default.nix
25 changes: 12 additions & 13 deletions pkgs/development/python-modules/digitalocean/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, isPy3k
@@ -8,18 +9,17 @@
, pytestCheckHook
, requests
, responses
, lib, stdenv
}:

buildPythonPackage rec {
pname = "python-digitalocean";
version = "1.15.0";
version = "1.16.0";

src = fetchFromGitHub {
owner = "koalalorenzo";
repo = "python-digitalocean";
repo = pname;
rev = "v${version}";
sha256 = "1pz15mh72i992p63grwzqn2bbp6sm37zcp4f0fy1z7rsargwsbcz";
sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g";
};

propagatedBuildInputs = [
@@ -33,21 +33,20 @@ buildPythonPackage rec {
pytest
pytestCheckHook
responses
] ++ stdenv.lib.optionals (!isPy3k) [
] ++ lib.optionals (!isPy3k) [
mock
];

preCheck = ''
cd digitalocean
'';

pythonImportsCheck = [ "digitalocean" ];

meta = with lib; {
description = "digitalocean.com API to manage Droplets and Images";
homepage = "https://pypi.python.org/pypi/python-digitalocean";
license = licenses.lgpl3;
maintainers = with maintainers; [
kiwi
teh
];
description = "Python API to manage Digital Ocean Droplets and Images";
homepage = "https://github.com/koalalorenzo/python-digitalocean";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ kiwi teh ];
};
}