1{ lib
2, buildPythonPackage
3, fetchPypi
4, click
5, six
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "click-configfile";
11 version = "0.2.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "lb7sE77pUOmPQ8gdzavvT2RAkVWepmKY+drfWTUdkNE=";
16 };
17
18 propagatedBuildInputs = [
19 click
20 six
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 disabledTests = [
28 "test_configfile__with_unbound_section"
29 "test_matches_section__with_bad_arg"
30 ];
31
32 meta = with lib; {
33 description = "Add support for commands that use configuration files to Click";
34 homepage = "https://github.com/click-contrib/click-configfile";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ jtojnar ];
37 };
38}