diff options
Diffstat (limited to 'pkgs/development/tools/knightos/patchrom/default.nix')
-rw-r--r-- | pkgs/development/tools/knightos/patchrom/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/tools/knightos/patchrom/default.nix b/pkgs/development/tools/knightos/patchrom/default.nix new file mode 100644 index 00000000000..67d7159e502 --- /dev/null +++ b/pkgs/development/tools/knightos/patchrom/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, libxslt }: + + +stdenv.mkDerivation rec { + pname = "patchrom"; + + version = "1.1.3"; + + src = fetchFromGitHub { + owner = "KnightOS"; + repo = "patchrom"; + rev = version; + sha256 = "0yc4q7n3k7k6rx3cxq5ddd5r0la8gw1287a74kql6gwkxjq0jmcv"; + }; + + strictDeps = true; + + nativeBuildInputs = [ asciidoc cmake libxslt.bin ]; + + hardeningDisable = [ "format" ]; + + meta = with lib; { + homepage = "https://knightos.org/"; + description = "Patches jumptables into TI calculator ROM files and generates an include file"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + platforms = platforms.unix; + }; +} |