summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/click-configfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/click-configfile')
-rw-r--r--pkgs/development/python-modules/click-configfile/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/click-configfile/default.nix b/pkgs/development/python-modules/click-configfile/default.nix
new file mode 100644
index 000000000000..0d87aa890d2a
--- /dev/null
+++ b/pkgs/development/python-modules/click-configfile/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, click
+, six
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+ pname = "click-configfile";
+ version = "0.2.3";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "lb7sE77pUOmPQ8gdzavvT2RAkVWepmKY+drfWTUdkNE=";
+ };
+
+ propagatedBuildInputs = [
+ click
+ six
+ ];
+
+ checkInputs = [
+ pytestCheckHook
+ ];
+
+ disabledTests = [
+ "test_configfile__with_unbound_section"
+ "test_matches_section__with_bad_arg"
+ ];
+
+ meta = with lib; {
+ description = "Add support for commands that use configuration files to Click";
+ homepage = "https://github.com/click-contrib/click-configfile";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ jtojnar ];
+ };
+}