Something went wrong. Try again.
lol
Something went wrong. Try again.
953 B · 38 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "filebytes"; version = "0.10.2"; pyproject = true;
src = fetchFromGitHub { owner = "sashs"; repo = "filebytes"; tag = "v${finalAttrs.version}"; hash = "sha256-8DGVCqWnEiqLCKWAYWrAjr50ZB6SMPMH+VqMqpALnVo="; };
patches = [ # Upstream PR: https://github.com/sashs/filebytes/pull/36 (fetchpatch { name = "python-3.14.patch"; url = "https://github.com/sashs/filebytes/commit/469058d50d4b7ff8da54b623a0a1aa972cd78dc6.patch"; hash = "sha256-VizYOqyJ3xpJIU4KKsYcz2DCurlfrWTgdsn84FVWD6w="; }) ];
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 ]; };})