3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.clize: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 17:07:48 -04:00
parent b42e1d1b1e
commit 19a50012dc
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 22 deletions

View file

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, sigtools
}:
buildPythonPackage rec {
pname = "clize";
version = "3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1xkr3h404d7pgj5gdpg6bddv3v3yq2hgx8qlwkgw5abg218k53hm";
};
buildInputs = [ dateutil ];
propagatedBuildInputs = [ sigtools ];
meta = with stdenv.lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
};
}

View file

@ -4563,28 +4563,7 @@ in {
sigtools = callPackage ../development/python-modules/sigtools { };
clize = buildPythonPackage rec {
name = "clize-${version}";
version = "3.0";
src = pkgs.fetchurl {
url = "mirror://pypi/c/clize/${name}.tar.gz";
sha256 = "1xkr3h404d7pgj5gdpg6bddv3v3yq2hgx8qlwkgw5abg218k53hm";
};
buildInputs = with self; [
dateutil
];
propagatedBuildInputs = with self; [
sigtools
];
meta = {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
};
};
clize = callPackage ../development/python-modules/clize { };
zerobin = buildPythonPackage rec {
name = "zerobin-${version}";