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