From b90a3da8ab33a7fed6c84e339cde118696394856 Mon Sep 17 00:00:00 2001 From: goproslowyo <68455785+goproslowyo@users.noreply.github.com> Date: Sat, 6 Jul 2024 22:31:58 -0700 Subject: [PATCH 1/2] Add missing cython dependency --- pkgs/tools/security/onlykey-agent/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/onlykey-agent/default.nix b/pkgs/tools/security/onlykey-agent/default.nix index 36a1cb284759..bdbf881396e9 100644 --- a/pkgs/tools/security/onlykey-agent/default.nix +++ b/pkgs/tools/security/onlykey-agent/default.nix @@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-SbGb7CjcD7cFPvASZtip56B4uxRiFKZBvbsf6sb8fds="; }; - propagatedBuildInputs = with python3Packages; [ lib-agent onlykey-cli setuptools ]; + propagatedBuildInputs = with python3Packages; [ lib-agent onlykey-cli setuptools cython ]; # move the python library into the sitePackages. postInstall = '' From 48831f1b3c478eb6bd47872e9af725e93fa42491 Mon Sep 17 00:00:00 2001 From: goproslowyo <68455785+goproslowyo@users.noreply.github.com> Date: Sun, 7 Jul 2024 15:46:34 -0700 Subject: [PATCH 2/2] Move cython to lib-agent's propagatedBuildInputs section --- pkgs/tools/security/onlykey-agent/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/onlykey-agent/default.nix b/pkgs/tools/security/onlykey-agent/default.nix index bdbf881396e9..f37073d602da 100644 --- a/pkgs/tools/security/onlykey-agent/default.nix +++ b/pkgs/tools/security/onlykey-agent/default.nix @@ -26,6 +26,7 @@ let propagatedBuildInputs = oa.propagatedBuildInputs or [ ] ++ [ bech32 cryptography + cython docutils pycryptodome pynacl @@ -52,7 +53,7 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-SbGb7CjcD7cFPvASZtip56B4uxRiFKZBvbsf6sb8fds="; }; - propagatedBuildInputs = with python3Packages; [ lib-agent onlykey-cli setuptools cython ]; + propagatedBuildInputs = with python3Packages; [ lib-agent onlykey-cli setuptools ]; # move the python library into the sitePackages. postInstall = ''