mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
28 lines
696 B
Nix
28 lines
696 B
Nix
{ lib, stdenv, fetchFromGitHub, libxslt, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mkrom";
|
|
version = "1.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnightOS";
|
|
repo = "mkrom";
|
|
rev = version;
|
|
sha256 = "sha256-YFrh0tOGiM90uvU9ZWopW1+9buHDQtetuOtPDSYYaXw=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ asciidoc libxslt.bin ];
|
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
installTargets = [ "install" "install_man" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://knightos.org/";
|
|
description = "Packages KnightOS distribution files into a ROM";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|