2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, asciidoc }:
|
2020-08-20 09:57:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mkrom";
|
2020-11-03 08:18:26 +00:00
|
|
|
version = "1.0.3";
|
2020-08-20 09:57:33 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "mkrom";
|
2020-09-10 06:40:38 +01:00
|
|
|
rev = version;
|
2020-11-03 08:18:26 +00:00
|
|
|
sha256 = "0xgvanya40mdwy35j94j61hsp80dm5b440iphmr5ng3kjgchvpx2";
|
2020-08-20 09:57:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
asciidoc
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 09:57:33 +01:00
|
|
|
homepage = "https://knightos.org/";
|
|
|
|
description = "Packages KnightOS distribution files into a ROM";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|