summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyavm
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-07-15 22:10:31 +0200
committerGitHub <noreply@github.com>2021-07-15 22:10:31 +0200
commitbf9ecde815f448669f62b09b3ece7c106b5d4f8d (patch)
tree0b9f0f736713e2d332891fab3b4c40d0411e4398 /pkgs/development/python-modules/pyavm
parented61b0a5bb927293c9958fd148b25d953c080ef8 (diff)
downloadnixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar.gz
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar.bz2
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar.lz
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar.xz
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.tar.zst
nixpkgs-bf9ecde815f448669f62b09b3ece7c106b5d4f8d.zip
python3Packages.pyavm: 0.9.4 -> 0.9.5 (#130230)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/pyavm')
-rw-r--r--pkgs/development/python-modules/pyavm/default.nix24
1 files changed, 15 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/pyavm/default.nix b/pkgs/development/python-modules/pyavm/default.nix
index 4535767a69c..c5127be1a87 100644
--- a/pkgs/development/python-modules/pyavm/default.nix
+++ b/pkgs/development/python-modules/pyavm/default.nix
@@ -1,7 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, pytest
+, pytestCheckHook
 , astropy
 , astropy-helpers
 , pillow
@@ -9,29 +9,35 @@
 
 buildPythonPackage rec {
   pname = "pyavm";
-  version = "0.9.4";
+  version = "0.9.5";
 
   src = fetchPypi {
     pname = "PyAVM";
     inherit version;
-    sha256 = "f298b864e5bc101ecbb0e46252e95e18a180ac28ba6ec362e63c12a7e914e386";
+    sha256 = "sha256-gV78ypvYwohHmdjP3lN5F97PfmxuV91tvw5gsYeZ7i8=";
   };
 
-  propagatedBuildInputs = [ astropy-helpers ];
+  propagatedBuildInputs = [
+    astropy-helpers
+  ];
 
-  checkInputs = [ pytest astropy pillow ];
-
-  checkPhase = "pytest";
+  checkInputs = [
+    astropy
+    pillow
+    pytestCheckHook
+  ];
 
   # Disable automatic update of the astropy-helper module
   postPatch = ''
     substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
   '';
 
+  pythonImportsCheck = [ "pyavm" ];
+
   meta = with lib; {
     description = "Simple pure-python AVM meta-data handling";
-    homepage = "http://astrofrog.github.io/pyavm/";
+    homepage = "https://astrofrog.github.io/pyavm/";
     license = licenses.mit;
-    maintainers = [ maintainers.smaret ];
+    maintainers = with maintainers; [ smaret ];
   };
 }