about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyvcd
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-10 20:05:08 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:54:20 +0200
commitea2360d3a6e3ed37faac5ab9e172fecb1eec3557 (patch)
tree19a58024fe8252b81ca6dcf66243b101ed616b9b /pkgs/development/python-modules/pyvcd
parent44ff862bbdf8640ab3e8d7121277b9f15a3c71b0 (diff)
python3Package.pyvcd: migrate to pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/pyvcd')
-rw-r--r--pkgs/development/python-modules/pyvcd/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pyvcd/default.nix b/pkgs/development/python-modules/pyvcd/default.nix
index 67460d44b8163..464e10c331796 100644
--- a/pkgs/development/python-modules/pyvcd/default.nix
+++ b/pkgs/development/python-modules/pyvcd/default.nix
@@ -4,7 +4,7 @@
 , pythonOlder
 , setuptools-scm
 , six
-, pytest
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -18,19 +18,16 @@ buildPythonPackage rec {
   };
 
   buildInputs = [ setuptools-scm ];
-  propagatedBuildInputs = [ six ];
 
-  checkPhase = ''
-    py.test
-  '';
+  propagatedBuildInputs = [ six ];
 
-  checkInputs = [ pytest ];
+  checkInputs = [ pytestCheckHook ];
 
   meta = with lib; {
     description = "Python package for writing Value Change Dump (VCD) files";
     homepage = "https://github.com/SanDisk-Open-Source/pyvcd";
     changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
     license = licenses.mit;
-    maintainers = [ maintainers.sb0 maintainers.emily ];
+    maintainers = with maintainers; [ sb0 emily ];
   };
 }