about summary refs log tree commit diff
path: root/pkgs/development/python-modules/crc32c/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/crc32c/default.nix')
-rw-r--r--pkgs/development/python-modules/crc32c/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/crc32c/default.nix b/pkgs/development/python-modules/crc32c/default.nix
index a4cf7924c9795..f5f44c351c15f 100644
--- a/pkgs/development/python-modules/crc32c/default.nix
+++ b/pkgs/development/python-modules/crc32c/default.nix
@@ -4,12 +4,13 @@
   fetchFromGitHub,
   pythonOlder,
   pytestCheckHook,
+  setuptools
 }:
 
 buildPythonPackage rec {
-  version = "2.3.post0";
+  version = "2.4";
   pname = "crc32c";
-  format = "setuptools";
+  pyproject = true;
 
   disabled = pythonOlder "3.5";
 
@@ -17,9 +18,11 @@ buildPythonPackage rec {
     owner = "ICRAR";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-lPEojWeAhfWpGR+k+Tuo4n68iZOk7lUDxjWXj5vN4I0=";
+    hash = "sha256-rWR2MtTLhqqvgdqEyevg/i8ZHM3OU1bJb27JkBx1J3w=";
   };
 
+  nativeBuildInputs = [ setuptools ];
+
   nativeCheckInputs = [ pytestCheckHook ];
 
   meta = {