blob: 8944078f70acbc356155c189677c9b2d0fc48038 (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, icalendar
, pytz
, pytestCheckHook
, restructuredtext_lint
, pygments
}:
buildPythonPackage rec {
pname = "x-wr-timezone";
version = "0.0.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "niccokunzmann";
repo = "x-wr-timezone";
rev = "v${version}";
hash = "sha256-vUhAq6b5I0gYbXmbElxSSL6Mu9BSLs0uT5gb8zXdmpg=";
};
propagatedBuildInputs = [
icalendar
pytz
];
nativeCheckInputs = [
pytestCheckHook
restructuredtext_lint
pygments
];
preCheck = ''
export PATH=$out/bin:$PATH
'';
pythonImportsCheck = [ "x_wr_timezone" ];
meta = {
description = "Convert calendars using X-WR-TIMEZONE to standard ones";
homepage = "https://github.com/niccokunzmann/x-wr-timezone";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|