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
-
{ lib, buildPythonPackage, fetchPypi }:
0
0
0
0
0
0
0
2
3
buildPythonPackage rec {
4
pname = "tzdata";
···
9
inherit pname version;
10
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
11
};
0
0
0
0
0
12
13
pythonImportsCheck = [ "tzdata" ];
14
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchPypi
4
+
, pythonOlder
5
+
, pytestCheckHook
6
+
, pytest-subtests
7
+
, importlib-resources
8
+
}:
9
10
buildPythonPackage rec {
11
pname = "tzdata";
···
16
inherit pname version;
17
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
18
};
19
+
20
+
checkInputs = [
21
+
pytestCheckHook
22
+
pytest-subtests
23
+
] ++ lib.optional (pythonOlder "3.7") importlib-resources;
24
25
pythonImportsCheck = [ "tzdata" ];
26