about summary refs log tree commit diff
path: root/pkgs/development/python-modules/smmap/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/smmap/default.nix')
-rw-r--r--pkgs/development/python-modules/smmap/default.nix24
1 files changed, 10 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/smmap/default.nix b/pkgs/development/python-modules/smmap/default.nix
index dd58978ced49..27ae1788145f 100644
--- a/pkgs/development/python-modules/smmap/default.nix
+++ b/pkgs/development/python-modules/smmap/default.nix
@@ -1,9 +1,9 @@
-{ lib
-, fetchPypi
-, buildPythonPackage
-, setuptools
-, nosexcover
-, pythonOlder
+{
+  lib,
+  fetchPypi,
+  buildPythonPackage,
+  setuptools,
+  pytestCheckHook,
 }:
 
 buildPythonPackage rec {
@@ -16,18 +16,14 @@ buildPythonPackage rec {
     hash = "sha256-jXkCjqbMEx2l6rCZpdlamY1DxneZVv/+O0VQQJEQdto=";
   };
 
-  nativeBuildInputs = [
-    setuptools
-  ];
+  build-system = [ setuptools ];
 
-  doCheck = pythonOlder "3.12";
+  pythonImportsCheck = [ "smmap" ];
 
-  nativeCheckInputs = [
-    nosexcover
-  ];
+  nativeCheckInputs = [ pytestCheckHook ];
 
   meta = {
-    description = "A pure python implementation of a sliding window memory map manager";
+    description = "Pure python implementation of a sliding window memory map manager";
     homepage = "https://github.com/gitpython-developers/smmap";
     maintainers = [ ];
     license = lib.licenses.bsd3;