forked from mirrors/nixpkgs
Merge pull request #244267 from l0b0/vcard
This commit is contained in:
commit
34d8dbb93d
|
@ -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
pkgs/development/python-modules/vcard/default.nix
Normal file
34
pkgs/development/python-modules/vcard/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue