blob: 359c7c142d5e1485dc5a6bf8e368ecb6fe36e6dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "pytz";
version = "2024.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-KilzXqnBi68UtEiEa95aSAMO0mdXhHLYlVzQ50Q6mBI=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-s" "pytz/tests" ];
pythonImportsCheck = [ "pytz" ];
meta = with lib; {
changelog = "https://launchpad.net/pytz/+announcements";
description = "World timezone definitions, modern and historical";
homepage = "https://pythonhosted.org/pytz";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|