From d65d092d2f439b00fdbaa9cce5756e16fe62a492 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Sun, 14 Dec 2025 12:00:28 +0100 Subject: [PATCH] nitrokey: relax hidapi python dep to fix build I tested the functionality with my nitrokey 3 and everything seems to work well. --- pkgs/development/python-modules/nitrokey/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nitrokey/default.nix b/pkgs/development/python-modules/nitrokey/default.nix index 57c75076d633..493a29bece23 100644 --- a/pkgs/development/python-modules/nitrokey/default.nix +++ b/pkgs/development/python-modules/nitrokey/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchPypi, poetry-core, cryptography, @@ -25,7 +24,10 @@ buildPythonPackage rec { hash = "sha256-m351pDLMuZaddbUqJz5r/ljz/vVq+RBDGk4xskc3HCk="; }; - pythonRelaxDeps = [ "protobuf" ]; + pythonRelaxDeps = [ + "protobuf" + "hidapi" + ]; build-system = [ poetry-core ];