2018-04-03 12:39:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-digitalocean";
|
2018-04-04 19:06:43 +01:00
|
|
|
version = "1.13.2";
|
2018-04-03 12:39:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:06:43 +01:00
|
|
|
sha256 = "06391cf0b253c8b4a5a10b3a4b7b7808b890a1d1e3b43d5ce3b5293a9c77af6b";
|
2018-04-03 12:39:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# Package doesn't distribute tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "digitalocean.com API to manage Droplets and Images";
|
|
|
|
homepage = https://pypi.python.org/pypi/python-digitalocean;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ teh ];
|
|
|
|
};
|
|
|
|
}
|