about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vcard/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/vcard/default.nix')
-rw-r--r--pkgs/development/python-modules/vcard/default.nix33
1 files changed, 20 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/vcard/default.nix b/pkgs/development/python-modules/vcard/default.nix
index 1c207387ea85..11d8c496a706 100644
--- a/pkgs/development/python-modules/vcard/default.nix
+++ b/pkgs/development/python-modules/vcard/default.nix
@@ -1,15 +1,18 @@
-{ buildPythonPackage
-, fetchFromGitLab
-, lib
-, pytestCheckHook
-, python-dateutil
-, pythonAtLeast
-, pythonOlder
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitLab,
+  pytestCheckHook,
+  python-dateutil,
+  pythonAtLeast,
+  pythonOlder,
+  setuptools,
 }:
+
 buildPythonPackage rec {
   pname = "vcard";
-  version = "0.15.4";
-  format = "setuptools";
+  version = "0.16.1";
+  pyproject = true;
 
   disabled = pythonOlder "3.8" || pythonAtLeast "3.12";
 
@@ -17,23 +20,27 @@ buildPythonPackage rec {
     owner = "engmark";
     repo = "vcard";
     rev = "refs/tags/v${version}";
-    hash = "sha256-7GNq6PoWZgwhhpxhWOkUEpqckeSfzocex1ZGN9CTJyo=";
+    hash = "sha256-cz1WF8LQsyJwcVKMSWmFb6OB/JWyfc2FgcOT3jJ45Cg=";
   };
 
-  propagatedBuildInputs = [ python-dateutil ];
+  pythonRelaxDeps = [ "python-dateutil" ];
+
+  build-system = [ setuptools ];
+
+  dependencies = [ python-dateutil ];
 
   nativeCheckInputs = [ pytestCheckHook ];
 
   pythonImportsCheck = [ "vcard" ];
 
   meta = {
-    homepage = "https://gitlab.com/engmark/vcard";
     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 = [ lib.maintainers.l0b0 ];
+    maintainers = with lib.maintainers; [ l0b0 ];
   };
 }