Merge pull request #220106 from marsam/fix-evtx-darwin

python310Packages.evtx: fix build on darwin
This commit is contained in:
Fabian Affolter
2023-03-08 08:54:47 +01:00
committed by GitHub
@@ -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;
};
}