paperwork: fix installing translations (#370379)
[NixPkgs.git] / pkgs / development / python-modules / jaraco-test / default.nix
blobf97cbf0ade2f13960f869e10a0b6a226a0205205
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools-scm,
7   toml,
8   jaraco-functools,
9   jaraco-context,
10   more-itertools,
11   jaraco-collections,
12   pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "jaraco-test";
17   version = "5.5.1";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "jaraco";
24     repo = "jaraco.test";
25     tag = "v${version}";
26     hash = "sha256-jbnU6PFVUd/eD9CWHyJvaTFkcZaIIwztkN9UbQZH1RU=";
27   };
29   build-system = [ setuptools-scm ];
31   dependencies = [
32     toml
33     jaraco-functools
34     jaraco-context
35     more-itertools
36     jaraco-collections
37   ];
39   nativeCheckInputs = [ pytestCheckHook ];
41   disabledTestPaths = [
42     # https://github.com/jaraco/jaraco.test/issues/6
43     "jaraco/test/cpython.py"
44   ];
46   pythonImportsCheck = [ "jaraco.test" ];
48   meta = with lib; {
49     description = "Testing support by jaraco";
50     homepage = "https://github.com/jaraco/jaraco.test";
51     changelog = "https://github.com/jaraco/jaraco.test/blob/${src.rev}/NEWS.rst";
52     license = licenses.mit;
53     maintainers = with maintainers; [ dotlambda ];
54   };