nixpkgs/pkgs/development/tools/knightos/mkrom/default.nix

28 lines
696 B
Nix
Raw Normal View History

2021-05-02 07:28:11 +01:00
{ lib, stdenv, fetchFromGitHub, libxslt, asciidoc }:
2020-08-20 09:57:33 +01:00
stdenv.mkDerivation rec {
pname = "mkrom";
2021-05-02 07:28:11 +01:00
version = "1.0.4";
2020-08-20 09:57:33 +01:00
src = fetchFromGitHub {
owner = "KnightOS";
repo = "mkrom";
rev = version;
2021-05-02 07:28:11 +01:00
sha256 = "sha256-YFrh0tOGiM90uvU9ZWopW1+9buHDQtetuOtPDSYYaXw=";
2020-08-20 09:57:33 +01:00
};
strictDeps = true;
2021-05-02 07:28:11 +01:00
nativeBuildInputs = [ asciidoc libxslt.bin ];
2020-08-20 09:57:33 +01:00
2021-05-02 07:28:11 +01:00
installFlags = [ "DESTDIR=$(out)" ];
installTargets = [ "install" "install_man" ];
2020-08-20 09:57:33 +01:00
meta = with lib; {
2020-08-20 09:57:33 +01:00
homepage = "https://knightos.org/";
description = "Packages KnightOS distribution files into a ROM";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
2021-05-02 07:28:11 +01:00
platforms = platforms.all;
2020-08-20 09:57:33 +01:00
};
}