3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyavm: 0.9.4 -> 0.9.5 (#130230)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Fabian Affolter 2021-07-15 22:10:31 +02:00 committed by GitHub
parent ed61b0a5bb
commit bf9ecde815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytestCheckHook
, astropy , astropy
, astropy-helpers , astropy-helpers
, pillow , pillow
@ -9,29 +9,35 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyavm"; pname = "pyavm";
version = "0.9.4"; version = "0.9.5";
src = fetchPypi { src = fetchPypi {
pname = "PyAVM"; pname = "PyAVM";
inherit version; inherit version;
sha256 = "f298b864e5bc101ecbb0e46252e95e18a180ac28ba6ec362e63c12a7e914e386"; sha256 = "sha256-gV78ypvYwohHmdjP3lN5F97PfmxuV91tvw5gsYeZ7i8=";
}; };
propagatedBuildInputs = [ astropy-helpers ]; propagatedBuildInputs = [
astropy-helpers
];
checkInputs = [ pytest astropy pillow ]; checkInputs = [
astropy
checkPhase = "pytest"; pillow
pytestCheckHook
];
# Disable automatic update of the astropy-helper module # Disable automatic update of the astropy-helper module
postPatch = '' postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False" substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
''; '';
pythonImportsCheck = [ "pyavm" ];
meta = with lib; { meta = with lib; {
description = "Simple pure-python AVM meta-data handling"; description = "Simple pure-python AVM meta-data handling";
homepage = "http://astrofrog.github.io/pyavm/"; homepage = "https://astrofrog.github.io/pyavm/";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.smaret ]; maintainers = with maintainers; [ smaret ];
}; };
} }