3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #244267 from l0b0/vcard

This commit is contained in:
Sandro 2023-07-24 15:21:36 +02:00 committed by GitHub
commit 34d8dbb93d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 0 deletions

View file

@ -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";

View file

@ -0,0 +1,34 @@
{ 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 ];
};
}

View file

@ -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

View file

@ -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 { };