mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python3Packages.pytest-astropy-header: unbreak
This commit is contained in:
parent
0bba94bb4c
commit
d7ca8099bf
@ -1,21 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, astropy
|
||||
, scipy
|
||||
, h5py
|
||||
, scikitimage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-astropy-header";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g";
|
||||
};
|
||||
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";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytest
|
||||
@ -25,6 +40,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
numpy
|
||||
scipy
|
||||
h5py
|
||||
scikitimage
|
||||
astropy
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user