forked from mirrors/nixpkgs
pythonPackages.clize: refactor move to python-modules
This commit is contained in:
parent
b42e1d1b1e
commit
19a50012dc
26
pkgs/development/python-modules/clize/default.nix
Normal file
26
pkgs/development/python-modules/clize/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue