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