python3Packages.cryptg: fix build on darwin

This commit is contained in:
Nick Cao 2023-01-20 14:17:34 +08:00
parent 513a26c7c7
commit b3bf6dc112
No known key found for this signature in database

View file

@ -1,9 +1,11 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, rustPlatform
, setuptools-rust
, libiconv
}:
buildPythonPackage rec {
@ -32,6 +34,10 @@ buildPythonPackage rec {
rust.cargo
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
# has no tests
doCheck = false;