nixpkgs/pkgs/development/python-modules/digitalocean/default.nix
Thorsten Weber bf31818f46 python: python-digitalocean: fix build
fix hash and add missing dependency "jsonpickle"

see 886048fdff (diff-714655688532fd4a33aab2085f266252)
2018-04-16 01:00:20 +02:00

24 lines
626 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, requests, jsonpickle }:
buildPythonPackage rec {
pname = "python-digitalocean";
version = "1.13.2";
src = fetchPypi {
inherit pname version;
sha256 = "0h4drpdsmk0b3rlvg6q6cz11k23w0swj1iddk7xdcw4m7r7c52kw";
};
propagatedBuildInputs = [ requests jsonpickle ];
# 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 ];
};
}