blob: 9b6e5da6263e7c013c52a46949882cf89facdf1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ 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 ];
};
}
|