summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-astropy-header/default.nix
blob: f53bcfb838ca3a1887b5146feca5c9893bd5f226 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytest,
  pytestCheckHook,
  numpy,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "pytest-astropy-header";
  version = "0.2.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10";
  };

  nativeBuildInputs = [ setuptools-scm ];

  buildInputs = [ pytest ];

  nativeCheckInputs = [
    pytestCheckHook
    numpy
  ];

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