at master 905 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python, 6 pyyaml, 7 setuptools, 8}: 9buildPythonPackage rec { 10 pname = "dtfabric"; 11 version = "20230520"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-rJPBEe/eAQ7OPPZHeFbomkb8ca3WTheDhs/ic6GohVM="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 dependencies = [ 22 pyyaml 23 ]; 24 25 pythonRemoveDeps = [ 26 "pip" 27 ]; 28 29 checkPhase = '' 30 runHook preCheck 31 ${python.interpreter} run_tests.py 32 runHook postCheck 33 ''; 34 35 meta = { 36 changelog = "https://github.com/libyal/dtfabric/releases/tag/${version}"; 37 description = "Project to manage data types and structures, as used in the libyal projects"; 38 downloadPage = "https://github.com/libyal/dtfabric/releases"; 39 homepage = "https://github.com/libyal/dtfabric"; 40 license = lib.licenses.asl20; 41 maintainers = [ lib.maintainers.jayrovacsek ]; 42 }; 43}