yubikey-manager: 5.8.0 -> 5.9.0 (#482739)

This commit is contained in:
Nick Cao
2026-02-11 00:26:52 +00:00
committed by GitHub
3 changed files with 71 additions and 6 deletions
+8 -6
View File
@@ -9,14 +9,14 @@
python3Packages.buildPythonPackage rec {
pname = "yubikey-manager";
version = "5.8.0";
version = "5.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Yubico";
repo = "yubikey-manager";
tag = version;
hash = "sha256-Z3krdKP6hhhIxN7nl/k5r30jFVC0kZK9Z6Aqllp/KrA=";
hash = "sha256-8SWuhuFeMRIskJRxeb67gA3gdhSDf/vnrYHra6t71Bc=";
};
postPatch = ''
@@ -33,11 +33,12 @@ python3Packages.buildPythonPackage rec {
];
dependencies = with python3Packages; [
cryptography
pyscard
fido2
click
cryptography
fido2
keyring
pyscard
python-pskc
];
postInstall = ''
@@ -50,8 +51,9 @@ python3Packages.buildPythonPackage rec {
'';
nativeCheckInputs = with python3Packages; [
pytestCheckHook
astroid
makefun
pytestCheckHook
];
meta = {
@@ -0,0 +1,61 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
cryptography,
defusedxml,
lxml,
pytest-cov-stub,
pytestCheckHook,
python-dateutil,
setuptools,
signxml,
}:
buildPythonPackage rec {
pname = "python-pskc";
version = "1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "arthurdejong";
repo = "python-pskc";
tag = version;
hash = "sha256-WBpS0EJA4arAn7O47ZHq3sBOd9D4tjYZKIi24xX5Hvs=";
};
build-system = [
setuptools
];
dependencies = [
cryptography
python-dateutil
];
optional-dependencies = {
defuse = [ defusedxml ];
lxml = [ lxml ];
signature = [ signxml ];
};
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
]
++ lib.concatAttrValues optional-dependencies;
preCheck = ''
export TZ=Europe/Amsterdam
'';
pythonImportsCheck = [ "pskc" ];
meta = {
changelog = "https://github.com/arthurdejong/python-pskc/releases/tag/${version}";
description = "Python module for handling PSKC files";
homepage = "https://github.com/arthurdejong/python-pskc";
license = lib.licenses.lgpl21Plus;
maintainers = [ ];
};
}
+2
View File
@@ -15624,6 +15624,8 @@ self: super: with self; {
python-prctl = callPackage ../development/python-modules/python-prctl { };
python-pskc = callPackage ../development/python-modules/python-pskc { };
python-ptrace = callPackage ../development/python-modules/python-ptrace { };
python-rabbitair = callPackage ../development/python-modules/python-rabbitair { };