Unverified Commit e76b9198 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

python310Packages.evtx: fix build on darwin
parents 16f0ece5 851e7062
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;
  };
}