12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "omerbenamram";
22 rev = "refs/tags/${version}";
23 hash = "sha256-wo6CeHlEBbu3klzzC4dUbjSfu7XwLo/cmtmZsVIKgS8=";
26 cargoDeps = rustPlatform.fetchCargoTarball {
28 name = "${pname}-${version}";
29 hash = "sha256-qBpc3PwvAceOMuRH4vrgURCsvKYhG2Id62n7sxW5AAg=";
32 nativeBuildInputs = with rustPlatform; [
37 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
39 nativeCheckInputs = [ pytestCheckHook ];
41 pythonImportsCheck = [ "evtx" ];
44 description = "Bindings for evtx";
45 homepage = "https://github.com/omerbenamram/pyevtx-rs";
46 changelog = "https://github.com/omerbenamram/pyevtx-rs/releases/tag/${version}";
47 license = with licenses; [ mit ];
48 maintainers = with maintainers; [ fab ];