2018-04-15 22:34:08 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, jsonpickle }:
|
2018-04-03 11:39:28 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-digitalocean";
|
2018-04-04 18:06:43 +00:00
|
|
|
version = "1.13.2";
|
2018-04-03 11:39:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-15 22:34:08 +00:00
|
|
|
sha256 = "0h4drpdsmk0b3rlvg6q6cz11k23w0swj1iddk7xdcw4m7r7c52kw";
|
2018-04-03 11:39:28 +00:00
|
|
|
};
|
|
|
|
|
2018-04-15 22:34:08 +00:00
|
|
|
propagatedBuildInputs = [ requests jsonpickle ];
|
2018-04-03 11:39:28 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|