Files
nixpkgs/pkgs/development/python-modules/dissect-extfs/default.nix
T
2025-11-26 23:17:31 +01:00

49 lines
1000 B
Nix

{
lib,
buildPythonPackage,
dissect-cstruct,
dissect-util,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dissect-extfs";
version = "3.15";
pyproject = true;
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.extfs";
tag = version;
hash = "sha256-Ffm4AT5PLqlIOq6kxPcwqzRHNXP0tQ5tvkMS7dv9fZ4=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dissect-cstruct
dissect-util
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dissect.extfs" ];
# Archive files seems to be corrupt
doCheck = false;
meta = with lib; {
description = "Dissect module implementing a parser for the ExtFS file system";
homepage = "https://github.com/fox-it/dissect.extfs";
changelog = "https://github.com/fox-it/dissect.extfs/releases/tag/${src.tag}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}