pythonPackages.docopt: Move to own file
This commit is contained in:
parent
7cc875b947
commit
98c682e0d2
17
pkgs/development/python-modules/docopt/default.nix
Normal file
17
pkgs/development/python-modules/docopt/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docopt";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14f4hn6d1j4b99svwbaji8n2zj58qicyz19mm0x6pmhb50jsics9";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pythonic argument parser, that will make you smile";
|
||||
homepage = http://docopt.org/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -2169,20 +2169,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
docopt = buildPythonPackage rec {
|
||||
name = "docopt-0.6.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/docopt/${name}.tar.gz";
|
||||
sha256 = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Pythonic argument parser, that will make you smile";
|
||||
homepage = http://docopt.org/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
docopt = callPackage ../development/python-modules/docopt { };
|
||||
|
||||
doctest-ignore-unicode = buildPythonPackage rec {
|
||||
name = "doctest-ignore-unicode-${version}";
|
||||
|
|
Loading…
Reference in a new issue