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

26 lines
641 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, asciidoc }:
2020-08-21 07:39:38 +01:00
stdenv.mkDerivation rec {
pname = "kimg";
2020-12-20 15:36:06 +00:00
version = "0.4.0";
2020-08-21 07:39:38 +01:00
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kimg";
rev = version;
2020-12-20 15:36:06 +00:00
sha256 = "040782k3rh2a5mhbfgr9gnbfis0wgxvi27vhfn7l35vrr12sw1l3";
2020-08-21 07:39:38 +01:00
};
2020-12-20 15:36:06 +00:00
nativeBuildInputs = [ cmake asciidoc ];
2020-08-21 07:39:38 +01:00
hardeningDisable = [ "format" ];
meta = with lib; {
2020-08-21 07:39:38 +01:00
homepage = "https://knightos.org/";
2020-12-20 15:36:06 +00:00
description = "Converts image formats supported by stb_image to the KnightOS image format";
2020-08-21 07:39:38 +01:00
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
2020-12-20 15:36:06 +00:00
platforms = platforms.all;
2020-08-21 07:39:38 +01:00
};
}