summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-filter-subpackage/default.nix
blob: 148b2c7185fb4b57ea32c14bb4e5c79646356f79 (plain) (blame)
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
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, pytest-doctestplus
, pytestCheckHook
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "pytest-filter-subpackage";
  version = "0.1.1";

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

  nativeBuildInputs = [
    setuptools-scm
  ];

  buildInputs = [ pytest ];

  propagatedBuildInputs = [
    pytest-doctestplus
    pytestcov
    pytestCheckHook
  ];

  # missing some files
  disabledTests = [ "with_rst" ];

  meta = with lib; {
    description = "Meta-package containing dependencies for testing";
    homepage = "https://astropy.org";
    license = licenses.bsd3;
  };
}