knightos-patchrom: init at 1.1.3

This commit is contained in:
Ben Siraphob 2020-10-01 20:20:21 +07:00
parent de6f754b6e
commit fd18f7bbd7
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake, asciidoc, libxslt, docbook_xsl }:
stdenv.mkDerivation rec {
pname = "patchrom";
version = "1.1.3";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "patchrom";
rev = version;
sha256 = "0yc4q7n3k7k6rx3cxq5ddd5r0la8gw1287a74kql6gwkxjq0jmcv";
};
nativeBuildInputs = [ cmake asciidoc docbook_xsl ];
buildInputs = [ libxslt ];
hardeningDisable = [ "format" ];
meta = with stdenv.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 ];
};
}

View file

@ -9336,6 +9336,8 @@ in
asciidoc = asciidoc-full;
};
knightos-patchrom = callPackage ../development/tools/knightos/patchrom { };
knightos-scas = callPackage ../development/tools/knightos/scas { };
kotlin = callPackage ../development/compilers/kotlin { };