blob: b6e4c46a18c5a10691ce85d2d28cd47558c500bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
{
lib,
buildPythonPackage,
dissect-cstruct,
dissect-util,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dissect-volume";
version = "3.17";
pyproject = true;
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.volume";
tag = version;
hash = "sha256-z7DH96c0uxOOE71m+P+QGds7ZHm1/yyE2FTilZt1OdA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dissect-cstruct
dissect-util
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dissect.volume" ];
disabledTests = [
# gzip.BadGzipFile: Not a gzipped file
"test_apm"
"test_bsd"
"test_bsd64"
"test_ddf_read"
"test_dm_thin"
"test_gpt_4k"
"test_gpt_esxi_no_name_xff"
"test_gpt_esxi"
"test_gpt"
"test_hybrid_gpt"
"test_lvm_mirro"
"test_lvm_thin"
"test_lvm"
"test_lvm"
"test_mbr"
"test_md_raid0_zones"
"test_md_raid1_multiple_disks"
"test_md_read"
"test_vinum"
];
meta = {
description = "Dissect module implementing various utility functions for the other Dissect modules";
homepage = "https://github.com/fox-it/dissect.volume";
changelog = "https://github.com/fox-it/dissect.volume/releases/tag/${src.tag}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|