ce06c56282
With dissect.util release 3.5 the license changed to Apache 2.0. https://github.com/fox-it/dissect.util/releases/tag/3.5
45 lines
973 B
Nix
45 lines
973 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
setuptools-scm,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dissect-util";
|
|
version = "3.23";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fox-it";
|
|
repo = "dissect.util";
|
|
tag = version;
|
|
hash = "sha256-dHP5nyumuQxAS3hkw4XRaLR3DMFn+WEFkLRbKBODIFo=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "dissect.util" ];
|
|
|
|
disabledTests = [
|
|
# File handling issue
|
|
"test_cpio_formats"
|
|
];
|
|
|
|
meta = {
|
|
description = "Dissect module implementing various utility functions for the other Dissect modules";
|
|
homepage = "https://github.com/fox-it/dissect.util";
|
|
changelog = "https://github.com/fox-it/dissect.util/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "dump-nskeyedarchiver";
|
|
};
|
|
}
|