1693fb2285
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
28 lines
687 B
Nix
28 lines
687 B
Nix
{ 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 ];
|
|
};
|
|
}
|