python3Packages.pynacl: add cffi dependency also at runtime

This commit is contained in:
legendofmiracles 2021-10-21 06:50:16 -06:00 committed by Jonathan Ringer
parent 2700a57e95
commit 770c364217
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi; propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;
propagatedNativeBuildInputs = lib.optional (!isPyPy) cffi;
meta = with lib; { meta = with lib; {
maintainers = with maintainers; [ domenkozar ]; maintainers = with maintainers; [ domenkozar ];
description = "Modern password hashing for your software and your servers"; description = "Modern password hashing for your software and your servers";

View file

@ -6,6 +6,7 @@
, libsodium , libsodium
, cffi , cffi
, hypothesis , hypothesis
, stdenv
, six , six
}: }:
@ -29,6 +30,7 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
cffi
six six
]; ];