depot/third_party/nixpkgs/pkgs/development/tools/knightos/kimg/default.nix
Default email d6cfb865ad Project import generated by Copybara.
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
2020-10-18 20:13:06 -04:00

27 lines
716 B
Nix

{ stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, imagemagick }:
stdenv.mkDerivation rec {
pname = "kimg";
version = "0.3.0";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kimg";
rev = version;
sha256 = "00gj420m0jvhgm8kkslw8r69nl7r73bxrh6gqs2mx16ymcpkanpk";
};
nativeBuildInputs = [ cmake asciidoc pkg-config ];
buildInputs = [ imagemagick ];
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
homepage = "https://knightos.org/";
description = "Converts image formats supported by ImageMagick to the KnightOS image format";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}