3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/configargparse/default.nix
2021-02-16 08:09:34 +01:00

33 lines
616 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ConfigArgParse";
version = "1.3";
src = fetchFromGitHub {
owner = "bw2";
repo = pname;
rev = version;
sha256 = "147x781lgahn9r3gbhayhx1pf0iysf7q1hnr3kypy3p2k9v7a9mh";
};
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "configargparse" ];
meta = with lib; {
description = "A drop-in replacement for argparse";
homepage = "https://github.com/bw2/ConfigArgParse";
license = licenses.mit;
maintainers = [ maintainers.willibutz ];
};
}