2021-02-17 17:02:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, libxslt }:
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "patchrom";
|
|
|
|
|
|
|
|
version = "1.1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "patchrom";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0yc4q7n3k7k6rx3cxq5ddd5r0la8gw1287a74kql6gwkxjq0jmcv";
|
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
strictDeps = true;
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
nativeBuildInputs = [ asciidoc cmake libxslt.bin ];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://knightos.org/";
|
|
|
|
description = "Patches jumptables into TI calculator ROM files and generates an include file";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
2020-10-19 00:13:06 +00:00
|
|
|
platforms = platforms.unix;
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
}
|