Unverified Commit 34d8dbb9 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #244267 from l0b0/vcard

parents b370d44b 893526b3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9168,6 +9168,12 @@
      fingerprint = "5A9A 1C9B 2369 8049 3B48  CF5B 81A1 5409 4816 2372";
    }];
  };
  l0b0 = {
    email = "victor@engmark.name";
    github = "l0b0";
    githubId = 168301;
    name = "Victor Engmark";
  };
  l3af = {
    email = "L3afMeAlon3@gmail.com";
    matrix = "@L3afMe:matrix.org";
+34 −0
Original line number Diff line number Diff line
{ buildPythonPackage
, fetchFromGitLab
, lib
, pytestCheckHook
, python-dateutil
, pythonAtLeast
, pythonOlder
}:
buildPythonPackage rec {
  pname = "vcard";
  version = "0.15.4";

  disabled = pythonOlder "3.8" || pythonAtLeast "3.12";

  src = fetchFromGitLab {
    owner = "engmark";
    repo = "vcard";
    rev = "refs/tags/v${version}";
    hash = "sha256-7GNq6PoWZgwhhpxhWOkUEpqckeSfzocex1ZGN9CTJyo=";
  };

  propagatedBuildInputs = [ python-dateutil ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "vcard" ];

  meta = {
    homepage = "https://gitlab.com/engmark/vcard";
    description = "vCard validator, class and utility functions";
    license = lib.licenses.agpl3Plus;
    maintainers = [ lib.maintainers.l0b0 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -17254,6 +17254,8 @@ with pkgs;
  vala-lint = callPackage ../development/tools/vala-lint { };
  vcard = python3Packages.toPythonApplication python3Packages.vcard;
  inherit (callPackage ../development/compilers/vala { })
    vala_0_48
    vala_0_54
+2 −0
Original line number Diff line number Diff line
@@ -13204,6 +13204,8 @@ self: super: with self; {

  vat-moss = callPackage ../development/python-modules/vat-moss { };

  vcard = callPackage ../development/python-modules/vcard { };

  vcrpy = callPackage ../development/python-modules/vcrpy { };

  vcver = callPackage ../development/python-modules/vcver { };