depot/third_party/nixpkgs/pkgs/development/libraries/zimg/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
674 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "zimg";
version = "3.0.1";
src = fetchFromGitHub {
owner = "sekrit-twc";
repo = "zimg";
rev = "release-${version}";
sha256 = "1mpns443ifbkbaxsw6yy8z01l7815259pxzd7s006npr0dxnc8ng";
};
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 = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ rnhmjoj ];
};
}