tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.tzdata: run tests
Robert Schütz
5 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";
···
16
inherit pname version;
17
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
18
};
0
0
0
0
0
19
20
pythonImportsCheck = [ "tzdata" ];
21
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchPypi
4
+
, pythonOlder
5
+
, pytestCheckHook
6
+
, pytest-subtests
7
+
, importlib-resources
8
+
}:
9
10
buildPythonPackage rec {
11
pname = "tzdata";
···
9
inherit pname version;
10
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
11
};
12
+
13
+
checkInputs = [
14
+
pytestCheckHook
15
+
pytest-subtests
16
+
] ++ lib.optional (pythonOlder "3.7") importlib-resources;
17
18
pythonImportsCheck = [ "tzdata" ];
19