aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-astropy-header/default.nix
blob: 05c6135a4b9dee6214187b42069c971f8aca1e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, pytestCheckHook
, numpy
, astropy
}:

buildPythonPackage rec {
  pname = "pytest-astropy-header";
  version = "0.1.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g";
  };

  propagatedBuildInputs = [
    pytest
  ];

  checkInputs = [
    pytestCheckHook
    pytestcov
    numpy
    astropy
  ];

  meta = with lib; {
    description = "Plugin to add diagnostic information to the header of the test output";
    homepage = "https://astropy.org";
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
  };
}