mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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:
parent
fccc81a671
commit
c122dadb51
21
pkgs/development/python-modules/configargparse/default.nix
Normal file
21
pkgs/development/python-modules/configargparse/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user