about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-03-29 09:15:40 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-03-29 09:15:40 +0200
commit28182088aaa3ad593b838b1e9a9f42dc90da9fff (patch)
tree4c3f79760a6c4b75efa79560e33fc410d8adb5a6
parent1074e51f1502d31c6b21e0ffb0a66e1e5a6b8301 (diff)
python310Packages.dpath: update disabled
- add format
-rw-r--r--pkgs/development/python-modules/dpath/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/dpath/default.nix b/pkgs/development/python-modules/dpath/default.nix
index 1c08c763ce8db..b41ec29a41ab0 100644
--- a/pkgs/development/python-modules/dpath/default.nix
+++ b/pkgs/development/python-modules/dpath/default.nix
@@ -2,23 +2,29 @@
 , buildPythonPackage
 , fetchPypi
 , hypothesis
-, isPy27
+, pythonOlder
 , mock
 , nose2
 , pytestCheckHook
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "dpath";
   version = "2.1.5";
+  format = "setuptools";
 
-  disabled = isPy27; # uses python3 imports
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
     hash = "sha256-zNlk24ObqtSqggYStLhzGwn0CiRdQBtyMVbOTvRbIrc=";
   };
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   nativeCheckInputs = [
     hypothesis
     mock