pythonPackages.docopt: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 14:57:59 +02:00 committed by Frederik Rietdijk
parent 7cc875b947
commit 98c682e0d2
2 changed files with 18 additions and 14 deletions

View 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;
};
}

View File

@ -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}";