pythonPackages.pyavm: init at 0.9.4

This commit is contained in:
Sébastien Maret 2019-02-25 14:39:24 +01:00
parent d81b59b027
commit 50124a62c8
No known key found for this signature in database
GPG key ID: 86E30E5A0F5FC59C
2 changed files with 39 additions and 0 deletions

View file

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

View file

@ -1526,6 +1526,8 @@ in {
cffi = callPackage ../development/python-modules/cffi { };
pyavm = callPackage ../development/python-modules/pyavm { };
pycollada = callPackage ../development/python-modules/pycollada { };
pycontracts = callPackage ../development/python-modules/pycontracts { };