linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-astropy-header / default.nix
blob963e621986cf0b82fe3a3676cec89c727abdf4cb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fetchpatch
5 , pytest
6 , pytestcov
7 , pytestCheckHook
8 , numpy
9 , astropy
10 , scipy
11 , h5py
12 , scikitimage
15 buildPythonPackage rec {
16   pname = "pytest-astropy-header";
17   version = "0.1.2";
18   format = "pyproject";
20   src = fetchPypi {
21     inherit pname version;
22     sha256 = "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g";
23   };
24   patches = [ (fetchpatch {
25       url = "https://github.com/astropy/pytest-astropy-header/pull/16.patch";
26       sha256 = "11ln63zq0kgsdx1jw3prlzpcdbxmc99p9cwr18s0x6apy0k6df31";
27     })
28     (fetchpatch {
29       url = "https://github.com/astropy/pytest-astropy-header/pull/29.patch";
30       sha256 = "18l434c926r5z1iq3b6lpnp0lrssszars9y1y9hs6216r60jgjpl";
31     })
32   ];
34   buildInputs = [
35     pytest
36   ];
38   checkInputs = [
39     pytestCheckHook
40     pytestcov
41     numpy
42     scipy
43     h5py
44     scikitimage
45     astropy
46   ];
48   meta = with lib; {
49     description = "Plugin to add diagnostic information to the header of the test output";
50     homepage = "https://astropy.org";
51     license = licenses.bsd3;
52     maintainers = [ maintainers.costrouc ];
53   };