pythonPackages.digital-ocean: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:39:28 +02:00 committed by Frederik Rietdijk
parent 3e023aa507
commit c6d8004fd7
2 changed files with 24 additions and 20 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "python-digitalocean";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "12qybflfnl08acspz7rpaprmlabgrzimacbd7gm9qs5537hl3qnp";
};
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 ];
};
}

View File

@ -2037,26 +2037,7 @@ in {
}; };
}; };
digital-ocean = buildPythonPackage rec { digital-ocean = callPackage ../development/python-modules/digitalocean { };
name = "python-digitalocean-1.10.1";
propagatedBuildInputs = with self; [ requests ];
# Package doesn't distribute tests.
doCheck = false;
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-digitalocean/${name}.tar.gz";
sha256 = "12qybflfnl08acspz7rpaprmlabgrzimacbd7gm9qs5537hl3qnp";
};
meta = {
description = "digitalocean.com API to manage Droplets and Images";
homepage = https://pypi.python.org/pypi/python-digitalocean;
license = licenses.lgpl3;
maintainers = with maintainers; [ teh ];
};
};
leather = callPackage ../development/python-modules/leather { }; leather = callPackage ../development/python-modules/leather { };