2021-02-17 17:02:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libxslt, asciidoc }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mkrom";
|
2020-11-24 20:58:05 +00:00
|
|
|
version = "1.0.3";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "mkrom";
|
|
|
|
rev = version;
|
2020-11-24 20:58:05 +00:00
|
|
|
sha256 = "0xgvanya40mdwy35j94j61hsp80dm5b440iphmr5ng3kjgchvpx2";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ asciidoc cmake libxslt.bin ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://knightos.org/";
|
|
|
|
description = "Packages KnightOS distribution files into a ROM";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|