tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.tzdata: run tests
Robert Schütz
4 years ago
98dedc53
916ee862
+13
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
tzdata
default.nix
+13
-1
pkgs/development/python-modules/tzdata/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchPypi }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, pythonOlder
5
5
+
, pytestCheckHook
6
6
+
, pytest-subtests
7
7
+
, importlib-resources
8
8
+
}:
2
9
3
10
buildPythonPackage rec {
4
11
pname = "tzdata";
···
9
16
inherit pname version;
10
17
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
11
18
};
19
19
+
20
20
+
checkInputs = [
21
21
+
pytestCheckHook
22
22
+
pytest-subtests
23
23
+
] ++ lib.optional (pythonOlder "3.7") importlib-resources;
12
24
13
25
pythonImportsCheck = [ "tzdata" ];
14
26