python3Packages.filebytes: modernize

This commit is contained in:
Tom Hunze
2026-03-22 11:22:35 +01:00
parent 468b4dc4f9
commit f52df0ff93
@@ -3,17 +3,18 @@
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "filebytes";
version = "0.10.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "sashs";
repo = "filebytes";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-8DGVCqWnEiqLCKWAYWrAjr50ZB6SMPMH+VqMqpALnVo=";
};
@@ -26,10 +27,12 @@ buildPythonPackage rec {
})
];
build-system = [ setuptools ];
meta = {
homepage = "https://scoding.de/filebytes-introduction";
license = lib.licenses.bsd3;
description = "Scripts to parse ELF, PE, Mach-O and OAT (Android Runtime)";
maintainers = with lib.maintainers; [ bennofs ];
};
}
})