pythonPackages.tzdata: run tests
This commit is contained in:
parent
916ee862e8
commit
98dedc538a
@ -1,4 +1,11 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-subtests
|
||||||
|
, importlib-resources
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tzdata";
|
pname = "tzdata";
|
||||||
@ -10,6 +17,11 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
|
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-subtests
|
||||||
|
] ++ lib.optional (pythonOlder "3.7") importlib-resources;
|
||||||
|
|
||||||
pythonImportsCheck = [ "tzdata" ];
|
pythonImportsCheck = [ "tzdata" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user