about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zcs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/zcs/default.nix')
-rw-r--r--pkgs/development/python-modules/zcs/default.nix23
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/zcs/default.nix b/pkgs/development/python-modules/zcs/default.nix
index b0a6226350f2d..723ace81de096 100644
--- a/pkgs/development/python-modules/zcs/default.nix
+++ b/pkgs/development/python-modules/zcs/default.nix
@@ -4,32 +4,43 @@
 , python
 , yacs
 , boxx
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "zcs";
-  version = "0.1.22";
+  version = "0.1.25";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-+0lG2OirfXj55IFA9GMERVWtrWwULfVfdbIg8ebH+7M=";
+    hash = "sha256-/QIyRQtxLDVW+vcQi5bL8rJ0o3+OhqGhQEALR1YO1pg=";
   };
 
   patches = [
     ./fix-test-yaml.patch
   ];
 
-  propagatedBuildInputs = [ yacs ];
+  propagatedBuildInputs = [
+    yacs
+  ];
 
-  pythonImportsCheck = [ "zcs" ];
+  pythonImportsCheck = [
+    "zcs"
+  ];
+
+  checkInputs = [
+    boxx
+  ];
 
-  checkInputs = [ boxx ];
   checkPhase = ''
     ${python.interpreter} test/test_zcs.py
   '';
 
   meta = with lib; {
-    description = "A flexible powerful configuration system which takes advantage of both argparse and yacs";
+    description = "Configuration system which takes advantage of both argparse and yacs";
     homepage = "https://github.com/DIYer22/zcs";
     license = licenses.mit;
     maintainers = with maintainers; [ lucasew ];