Merge pull request #109650 from fabaff/bump-do
This commit is contained in:
commit
cd55ae957b
@ -1,4 +1,5 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, isPy3k
|
||||||
@ -8,18 +9,17 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
, responses
|
, responses
|
||||||
, lib, stdenv
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-digitalocean";
|
pname = "python-digitalocean";
|
||||||
version = "1.15.0";
|
version = "1.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "koalalorenzo";
|
owner = "koalalorenzo";
|
||||||
repo = "python-digitalocean";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1pz15mh72i992p63grwzqn2bbp6sm37zcp4f0fy1z7rsargwsbcz";
|
sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||||||
pytest
|
pytest
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
responses
|
responses
|
||||||
] ++ stdenv.lib.optionals (!isPy3k) [
|
] ++ lib.optionals (!isPy3k) [
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -41,13 +41,12 @@ buildPythonPackage rec {
|
|||||||
cd digitalocean
|
cd digitalocean
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "digitalocean" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "digitalocean.com API to manage Droplets and Images";
|
description = "Python API to manage Digital Ocean Droplets and Images";
|
||||||
homepage = "https://pypi.python.org/pypi/python-digitalocean";
|
homepage = "https://github.com/koalalorenzo/python-digitalocean";
|
||||||
license = licenses.lgpl3;
|
license = with licenses; [ lgpl3Only ];
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [ kiwi teh ];
|
||||||
kiwi
|
|
||||||
teh
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user