python3Packages.dtfabric: init at 20230520 (#388306)

This commit is contained in:
OTABI Tomoya
2025-04-27 22:18:10 +09:00
committed by GitHub
3 changed files with 51 additions and 0 deletions
+6
View File
@@ -11007,6 +11007,12 @@
githubId = 5579359;
name = "Jason Yundt";
};
jayrovacsek = {
email = "nixpkgs@jay.rovacsek.com";
github = "JayRovacsek";
githubId = 29395089;
name = "Jay Rovacsek";
};
jb55 = {
email = "jb55@jb55.com";
github = "jb55";
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchPypi,
python,
pyyaml,
setuptools,
}:
buildPythonPackage rec {
pname = "dtfabric";
version = "20230520";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-rJPBEe/eAQ7OPPZHeFbomkb8ca3WTheDhs/ic6GohVM=";
};
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 ];
};
}
+2
View File
@@ -4196,6 +4196,8 @@ self: super: with self; {
dsnap = callPackage ../development/python-modules/dsnap { };
dtfabric = callPackage ../development/python-modules/dtfabric { };
dtlssocket = callPackage ../development/python-modules/dtlssocket { };
dtschema = callPackage ../development/python-modules/dtschema { };