blob: 4f15cd1db584d553fa21c434e9440cd59c8c2812 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
python,
pyyaml,
setuptools,
}:
buildPythonPackage rec {
pname = "dtfabric";
version = "20251118";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-v2qsZtqGb40p5/Q1IGhI+prMCkuruxFB0BTMORKzmX4=";
};
build-system = [ setuptools ];
dependencies = [
pyyaml
];
pythonRemoveDeps = [
"pip"
];
checkPhase = ''
runHook preCheck
${python.interpreter} run_tests.py
runHook postCheck
'';
meta = {
changelog = "https://github.com/libyal/dtfabric/releases/tag/${version}";
description = "Project to manage data types and structures, as used in the libyal projects";
downloadPage = "https://github.com/libyal/dtfabric/releases";
homepage = "https://github.com/libyal/dtfabric";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jayrovacsek ];
};
}
|