Files
nixpkgs/pkgs/development/python-modules/dissect-esedb/default.nix
T
2025-06-19 20:21:51 +02:00

49 lines
1018 B
Nix

{
lib,
buildPythonPackage,
dissect-cstruct,
dissect-util,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "dissect-esedb";
version = "3.16";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.esedb";
tag = version;
hash = "sha256-jLv62/3U89sbmcHAA2YYwVPLlLj85nMn4PRE565ppw4=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dissect-cstruct
dissect-util
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dissect.esedb" ];
meta = with lib; {
description = "Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB)";
homepage = "https://github.com/fox-it/dissect.esedb";
changelog = "https://github.com/fox-it/dissect.esedb/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}