2018-04-15 23:34:08 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, jsonpickle }:
|
2018-04-03 12:39:28 +01:00
|
|
|
|
|
|
|
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-15 23:34:08 +01:00
|
|
|
sha256 = "0h4drpdsmk0b3rlvg6q6cz11k23w0swj1iddk7xdcw4m7r7c52kw";
|
2018-04-03 12:39:28 +01:00
|
|
|
};
|
|
|
|
|
2018-04-15 23:34:08 +01:00
|
|
|
propagatedBuildInputs = [ requests jsonpickle ];
|
2018-04-03 12:39:28 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|