depot/third_party/nixpkgs/pkgs/development/libraries/zimg/default.nix

26 lines
670 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "zimg";
version = "3.0.4";
src = fetchFromGitHub {
owner = "sekrit-twc";
repo = "zimg";
rev = "release-${version}";
sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with lib; {
description = "Scaling, colorspace conversion and dithering library";
homepage = "https://github.com/sekrit-twc/zimg";
license = licenses.wtfpl;
platforms = with platforms; unix ++ windows;
maintainers = with maintainers; [ rnhmjoj ];
};
}