2021-02-17 17:02:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, asciidoc, cmake, libxslt }:
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "genkfs";
|
|
|
|
version = "1.3.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnightOS";
|
|
|
|
repo = "genkfs";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0f50idd2bb73b05qjmwlirjnhr1bp43zhrgy6z949ab9a7hgaydp";
|
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ asciidoc libxslt.bin cmake ];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://knightos.org/";
|
|
|
|
description = "Utility to write a KFS filesystem into a ROM file";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "genkfs";
|
2020-11-30 08:33:03 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|