summary refs log tree commit diff
path: root/pkgs/development/tools/knightos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-11-26 03:21:57 +0100
committerGitHub <noreply@github.com>2020-11-26 03:21:57 +0100
commite56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce (patch)
tree4b6fc7d9dd096d864f05387a4b9ba6d7bbbf4ed0 /pkgs/development/tools/knightos
parentfa528806ba1dce57dd3a09155b38dbb271b0f9e7 (diff)
parent04b7c0aff7c28aaddaba28f54614946e8ac7c3b2 (diff)
downloadnixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar.gz
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar.bz2
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar.lz
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar.xz
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.tar.zst
nixpkgs-e56bfa41e8bdcd67ab6eb74dbe7cb36843a0bdce.zip
Merge pull request #99283 from siraben/genkfs-init
knightos-genkfs: init at 1.3.2
Diffstat (limited to 'pkgs/development/tools/knightos')
-rw-r--r--pkgs/development/tools/knightos/genkfs/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/knightos/genkfs/default.nix b/pkgs/development/tools/knightos/genkfs/default.nix
new file mode 100644
index 00000000000..b826c1a58b9
--- /dev/null
+++ b/pkgs/development/tools/knightos/genkfs/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, cmake, asciidoc }:
+
+stdenv.mkDerivation rec {
+  pname = "genkfs";
+  version = "1.3.2";
+
+  src = fetchFromGitHub {
+    owner = "KnightOS";
+    repo = "genkfs";
+    rev = version;
+    sha256 = "0f50idd2bb73b05qjmwlirjnhr1bp43zhrgy6z949ab9a7hgaydp";
+  };
+
+  nativeBuildInputs = [ asciidoc cmake ];
+
+  hardeningDisable = [ "format" ];
+
+  meta = with stdenv.lib; {
+    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;
+  };
+}