pretender: 1.2.0 -> 1.3.0 (#378434)
[NixPkgs.git] / pkgs / development / python-modules / vcard / default.nix
blob16568030e235dcce48dff653ff7358b22ee4244b
2   lib,
3   buildPythonPackage,
4   fetchFromGitLab,
5   pytestCheckHook,
6   python-dateutil,
7   pythonAtLeast,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "vcard";
14   version = "0.16.1";
15   pyproject = true;
17   disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
19   src = fetchFromGitLab {
20     owner = "engmark";
21     repo = "vcard";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-cz1WF8LQsyJwcVKMSWmFb6OB/JWyfc2FgcOT3jJ45Cg=";
24   };
26   pythonRelaxDeps = [ "python-dateutil" ];
28   build-system = [ setuptools ];
30   dependencies = [ python-dateutil ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   pythonImportsCheck = [ "vcard" ];
36   meta = {
37     description = "vCard validator, class and utility functions";
38     longDescription = ''
39       This program can be used for strict validation and parsing of vCards. It currently supports vCard 3.0 (RFC 2426).
40     '';
41     homepage = "https://gitlab.com/engmark/vcard";
42     license = lib.licenses.agpl3Plus;
43     mainProgram = "vcard";
44     maintainers = with lib.maintainers; [ l0b0 ];
45   };