blob: 88ac1992cd908de79b153986d3387c616d49f094 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitLab,
pytestCheckHook,
python-dateutil,
setuptools,
}:
buildPythonPackage rec {
pname = "vcard";
version = "1.0.0";
pyproject = true;
src = fetchFromGitLab {
owner = "engmark";
repo = "vcard";
tag = "v${version}";
hash = "sha256-c6lj4sCXlQd5Bh5RLuZUIaTirVHtkRfYUAUtZI+1MeI=";
};
build-system = [ setuptools ];
dependencies = [ python-dateutil ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "vcard" ];
meta = {
description = "vCard validator, class and utility functions";
longDescription = ''
This program can be used for strict validation and parsing of vCards. It currently supports vCard 3.0 (RFC 2426).
'';
homepage = "https://gitlab.com/engmark/vcard";
license = lib.licenses.agpl3Plus;
mainProgram = "vcard";
maintainers = with lib.maintainers; [ l0b0 ];
};
}
|