diff options
author | Johannes Jöns <34899572+jopejoe1@users.noreply.github.com> | 2024-06-20 10:36:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 10:36:14 +0200 |
commit | 5e952b64ad938a827829d28de4c680b924bf02ce (patch) | |
tree | e7c50bb0cb5da354d0d41e6b4385fe34d737334e | |
parent | f3f70b8e3d800248c51a2289adcb9a6c37e748f9 (diff) | |
parent | 965018f4b7238470ba66f6350035fb09696e8b70 (diff) |
Merge pull request #281267 from l0b0/auto-update-vcard
vcard: enable auto-update
-rw-r--r-- | pkgs/development/python-modules/vcard/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/vcard/default.nix b/pkgs/development/python-modules/vcard/default.nix index df882ae250caf..41fecf60da031 100644 --- a/pkgs/development/python-modules/vcard/default.nix +++ b/pkgs/development/python-modules/vcard/default.nix @@ -2,14 +2,19 @@ buildPythonPackage, fetchFromGitLab, lib, + nix-update-script, pytestCheckHook, python-dateutil, pythonAtLeast, pythonOlder, }: -buildPythonPackage rec { - pname = "vcard"; +let version = "0.15.4"; +in +buildPythonPackage { + inherit version; + + pname = "vcard"; format = "setuptools"; disabled = pythonOlder "3.8" || pythonAtLeast "3.12"; @@ -27,6 +32,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "vcard" ]; + passthru.updateScript = nix-update-script { }; + meta = { homepage = "https://gitlab.com/engmark/vcard"; description = "vCard validator, class and utility functions"; |