Sandro
2025-09-03 10:37:31 -04:00
committed by GitHub
parent 231bf43f72
commit 194fc7cb9e
+9 -10
View File
@@ -9,27 +9,30 @@
python3Packages.buildPythonPackage rec {
pname = "yubikey-manager";
version = "5.7.2";
version = "5.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Yubico";
repo = "yubikey-manager";
tag = version;
hash = "sha256-dgOi9gJ7jO3+EjZQjHfx+KDsBtj6b4JWR3Bp9xWM6FI=";
hash = "sha256-Z3krdKP6hhhIxN7nl/k5r30jFVC0kZK9Z6Aqllp/KrA=";
};
postPatch = ''
substituteInPlace "ykman/pcsc/__init__.py" \
--replace 'pkill' '${if stdenv.hostPlatform.isLinux then procps else "/usr"}/bin/pkill'
--replace-fail 'pkill' '${if stdenv.hostPlatform.isLinux then procps else "/usr"}/bin/pkill'
'';
nativeBuildInputs = with python3Packages; [
poetry-core
nativeBuildInputs = [
installShellFiles
];
propagatedBuildInputs = with python3Packages; [
build-system = with python3Packages; [
poetry-core
];
dependencies = with python3Packages; [
cryptography
pyscard
fido2
@@ -37,10 +40,6 @@ python3Packages.buildPythonPackage rec {
keyring
];
pythonRelaxDeps = [
"keyring"
];
postInstall = ''
installManPage man/ykman.1