d419639f9c
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
27 lines
684 B
Nix
27 lines
684 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libxslt, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kimg";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnightOS";
|
|
repo = "kimg";
|
|
rev = version;
|
|
sha256 = "040782k3rh2a5mhbfgr9gnbfis0wgxvi27vhfn7l35vrr12sw1l3";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ asciidoc cmake libxslt.bin ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://knightos.org/";
|
|
description = "Converts image formats supported by stb_image to the KnightOS image format";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|