1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 fetchpatch,
6 pytest,
7 pytest-cov,
8 pytestCheckHook,
9 numpy,
10 setuptools-scm,
11}:
12
13buildPythonPackage rec {
14 pname = "pytest-astropy-header";
15 version = "0.2.2";
16 format = "pyproject";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10";
21 };
22
23 nativeBuildInputs = [ setuptools-scm ];
24
25 buildInputs = [ pytest ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 numpy
30 ];
31
32 meta = with lib; {
33 description = "Plugin to add diagnostic information to the header of the test output";
34 homepage = "https://astropy.org";
35 license = licenses.bsd3;
36 maintainers = [ ];
37 };
38}