pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules

- fetch with `fetchPypi`
- add license, description and myself as maintainer
This commit is contained in:
WilliButz 2017-11-12 23:02:37 +01:00
parent fccc81a671
commit c122dadb51
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2
2 changed files with 22 additions and 22 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "ConfigArgParse";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "0fgkiqh6r3rbkdq3k8c48m85g52k96686rw3a6jg4lcncrkpvk98";
};
# no tests in tarball
doCheck = false;
meta = with lib; {
description = "A drop-in replacement for argparse";
homepage = https://github.com/zorro3/ConfigArgParse;
license = licenses.mit;
maintainer = [ maintainers.willibutz ];
};
}

View File

@ -8641,28 +8641,7 @@ in {
buildInputs = with self; [ nose ]; buildInputs = with self; [ nose ];
}; };
ConfigArgParse = buildPythonPackage rec { ConfigArgParse = callPackage ../development/python-modules/configargparse { };
name = "ConfigArgParse-${version}";
version = "0.9.3";
src = pkgs.fetchurl {
url = "mirror://pypi/C/ConfigArgParse/ConfigArgParse-${version}.tar.gz";
sha256 = "0a984pvv7370yz7zbkl6s6i7yyl9myahx0m9jkjvg3hz5q8mf70l";
};
# no tests in tarball
doCheck = false;
propagatedBuildInputs = with self; [
];
buildInputs = with self; [
];
meta = with stdenv.lib; {
homepage = "https://github.com/zorro3/ConfigArgParse";
};
};
jsonschema = callPackage ../development/python-modules/jsonschema { }; jsonschema = callPackage ../development/python-modules/jsonschema { };