Skip to content

Commit

Permalink
mkrom: init at 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
siraben authored and danieldk committed Aug 21, 2020
1 parent 6c0a602 commit 8c22c88
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/tools/misc/mkrom/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, cmake, asciidoc }:

stdenv.mkDerivation rec {
pname = "mkrom";
version = "unstable-2020-06-11";

src = fetchFromGitHub {
owner = "KnightOS";
repo = "mkrom";
rev = "7a735ecbe09409e74680a9dc1c50dd4db99a409f";
sha256 = "18h7a0fb5zb991iy9ljpknmk9qvl9nz3yh1zh5bm399rpxn4nzx3";
};

nativeBuildInputs = [
asciidoc
cmake
];

hardeningDisable = [ "format" ];

meta = with stdenv.lib; {
homepage = "https://knightos.org/";
description = "Packages KnightOS distribution files into a ROM";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11039,6 +11039,10 @@ in

mkcert = callPackage ../development/tools/misc/mkcert { };

mkrom = callPackage ../development/tools/misc/mkrom {
asciidoc = asciidoc-full;
};

mkdocs = callPackage ../development/tools/documentation/mkdocs { };

mockgen = callPackage ../development/tools/mockgen { };
Expand Down

0 comments on commit 8c22c88

Please sign in to comment.