Merge pull request #211729 from NickCao/cryptg

python3Packages.cryptg: fix build on darwin
This commit is contained in:
Nick Cao 2023-01-20 14:54:15 +08:00 committed by GitHub
commit 6e4f928535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;