python3Packages.pytest-astropy-header: 0.1.2 -> 0.2.2

- Update the the latest upstream
 - Add missing dependency in nativeBuildInputs
 - Remove unnecessary dependencies in checkInputs
This commit is contained in:
Sébastien Maret 2022-09-27 13:10:11 +02:00
parent 8051e9c4ae
commit 691229c5a8

View file

@ -8,27 +8,23 @@
, numpy
, astropy
, scipy
, setuptools-scm
, h5py
, scikitimage
}:
buildPythonPackage rec {
pname = "pytest-astropy-header";
version = "0.1.2";
version = "0.2.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g";
sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10";
};
patches = [ (fetchpatch {
url = "https://github.com/astropy/pytest-astropy-header/pull/16.patch";
sha256 = "11ln63zq0kgsdx1jw3prlzpcdbxmc99p9cwr18s0x6apy0k6df31";
})
(fetchpatch {
url = "https://github.com/astropy/pytest-astropy-header/pull/29.patch";
sha256 = "18l434c926r5z1iq3b6lpnp0lrssszars9y1y9hs6216r60jgjpl";
})
nativeBuildInputs = [
setuptools-scm
];
buildInputs = [
@ -37,12 +33,7 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
pytest-cov
numpy
scipy
h5py
scikitimage
astropy
];
meta = with lib; {