depot/third_party/nixpkgs/pkgs/development/tools/knightos/kimg/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

25 lines
641 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, asciidoc }:
stdenv.mkDerivation rec {
pname = "kimg";
version = "0.4.0";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kimg";
rev = version;
sha256 = "040782k3rh2a5mhbfgr9gnbfis0wgxvi27vhfn7l35vrr12sw1l3";
};
nativeBuildInputs = [ cmake asciidoc ];
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;
};
}