blob: bd01b82076a489efcc7afce15aec9aca4c84e083 (
plain)
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,
isPyPy,
setuptools,
python-dateutil,
pytz,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "vobject";
version = "0.9.9";
pyproject = true;
disabled = isPyPy;
src = fetchFromGitHub {
owner = "py-vobject";
repo = "vobject";
tag = "v${version}";
hash = "sha256-OL0agVpV/kWph6KhpzDhfzayscs0OaJ2W9WIilXVaS0=";
};
build-system = [ setuptools ];
dependencies = [
python-dateutil
pytz
six
];
pythonImportsCheck = [ "vobject" ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests.py" ];
meta = {
description = "Module for reading vCard and vCalendar files";
homepage = "https://github.com/py-vobject/vobject";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|