python310Packages.evtx: fix build on darwin

This commit is contained in:
Mario Rodas 2023-03-07 04:20:00 +00:00
parent e8034f229f
commit 851e70627a

View file

@ -5,6 +5,7 @@
, pytestCheckHook
, pythonOlder
, rustPlatform
, libiconv
}:
buildPythonPackage rec {
@ -32,6 +33,10 @@ buildPythonPackage rec {
maturinBuildHook
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
nativeCheckInputs = [
pytestCheckHook
];
@ -46,6 +51,5 @@ buildPythonPackage rec {
changelog = "https://github.com/omerbenamram/pyevtx-rs/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
broken = stdenv.isDarwin;
};
}