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