3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/knightos/kpack/default.nix

29 lines
691 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, libxslt, docbook_xsl }:
2020-08-20 10:40:52 +01:00
stdenv.mkDerivation rec {
pname = "kpack";
2020-11-02 16:47:50 +00:00
version = "1.1.1";
2020-08-20 10:40:52 +01:00
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kpack";
rev = version;
2020-11-02 16:47:50 +00:00
sha256 = "1l6bm2j45946i80qgwhrixg9sckazwb5x4051s76d3mapq9bara8";
2020-08-20 10:40:52 +01:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ asciidoc libxslt.bin docbook_xsl ];
hardeningDisable = [ "fortify" ];
meta = with lib; {
2020-08-20 10:40:52 +01:00
homepage = "https://knightos.org/";
description = "A tool to create or extract KnightOS packages";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ siraben ];
2020-10-17 07:08:55 +01:00
platforms = platforms.unix;
2020-08-20 10:40:52 +01:00
};
}