From 770c364217bad9abc8cc9d1793de99539bc1f22b Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Thu, 21 Oct 2021 06:50:16 -0600 Subject: [PATCH] python3Packages.pynacl: add cffi dependency also at runtime --- pkgs/development/python-modules/bcrypt/default.nix | 2 ++ pkgs/development/python-modules/pynacl/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/bcrypt/default.nix b/pkgs/development/python-modules/bcrypt/default.nix index cfd17262a2b3..d6347b179046 100644 --- a/pkgs/development/python-modules/bcrypt/default.nix +++ b/pkgs/development/python-modules/bcrypt/default.nix @@ -15,6 +15,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi; + propagatedNativeBuildInputs = lib.optional (!isPyPy) cffi; + meta = with lib; { maintainers = with maintainers; [ domenkozar ]; description = "Modern password hashing for your software and your servers"; diff --git a/pkgs/development/python-modules/pynacl/default.nix b/pkgs/development/python-modules/pynacl/default.nix index 8c5c239aeb41..91a197e7cf66 100644 --- a/pkgs/development/python-modules/pynacl/default.nix +++ b/pkgs/development/python-modules/pynacl/default.nix @@ -6,6 +6,7 @@ , libsodium , cffi , hypothesis +, stdenv , six }: @@ -29,6 +30,7 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ + cffi six ];