@@ -1,7 +1,7 @@
11{ lib
22, buildPythonPackage
33, fetchPypi
4−, pytest
4+, pytestCheckHook
55, astropy
66, astropy-helpers
77, pillow
@@ -9,29 +9,35 @@
99
1010buildPythonPackage rec {
1111 pname = "pyavm";
12− version = "0.9.4";
12+ version = "0.9.5";
1313
1414 src = fetchPypi {
1515 pname = "PyAVM";
1616 inherit version;
17− sha256 = "f298b864e5bc101ecbb0e46252e95e18a180ac28ba6ec362e63c12a7e914e386";
17+ sha256 = "sha256-gV78ypvYwohHmdjP3lN5F97PfmxuV91tvw5gsYeZ7i8=";
1818 };
1919
20− propagatedBuildInputs = [ astropy-helpers ];
20+ propagatedBuildInputs = [
21+ astropy-helpers
22+ ];
2123
22− checkInputs = [ pytest astropy pillow ];
23−
24− checkPhase = "pytest";
24+ checkInputs = [
25+ astropy
26+ pillow
27+ pytestCheckHook
28+ ];
2529
2630 # Disable automatic update of the astropy-helper module
2731 postPatch = ''
2832 substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
2933 '';
3034
35+ pythonImportsCheck = [ "pyavm" ];
36+
3137 meta = with lib; {
3238 description = "Simple pure-python AVM meta-data handling";
33− homepage = "http://astrofrog.github.io/pyavm/";
39+ homepage = "https://astrofrog.github.io/pyavm/";
3440 license = licenses.mit;
35− maintainers = [ maintainers.smaret ];
41+ maintainers = with maintainers; [ smaret ];
3642 };
3743}