Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ stdenv, lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, rustPlatform, libiconv,}:
buildPythonPackage rec { pname = "evtx"; version = "0.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "omerbenamram"; repo = "pyevtx-rs"; tag = version; hash = "sha256-06pRNGEUmk2llD5CPbgHiJSHTR8tm/nv0eJL1UKHPEM="; };
cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; hash = "sha256-POEqKRJ/g0bWYs89yrVyD4RFhc7iq+5J67P0rowB2/g="; };
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "evtx" ];
meta = { description = "Bindings for evtx"; homepage = "https://github.com/omerbenamram/pyevtx-rs"; changelog = "https://github.com/omerbenamram/pyevtx-rs/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}