12 buildPythonPackage rec {
17 disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
19 src = fetchFromGitLab {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-cz1WF8LQsyJwcVKMSWmFb6OB/JWyfc2FgcOT3jJ45Cg=";
26 pythonRelaxDeps = [ "python-dateutil" ];
28 build-system = [ setuptools ];
30 dependencies = [ python-dateutil ];
32 nativeCheckInputs = [ pytestCheckHook ];
34 pythonImportsCheck = [ "vcard" ];
37 description = "vCard validator, class and utility functions";
39 This program can be used for strict validation and parsing of vCards. It currently supports vCard 3.0 (RFC 2426).
41 homepage = "https://gitlab.com/engmark/vcard";
42 license = lib.licenses.agpl3Plus;
43 mainProgram = "vcard";
44 maintainers = with lib.maintainers; [ l0b0 ];