forked from mirrors/nixpkgs
f7a052cda2
Semi-automatic update. These checks were performed: - built on NixOS - found 2.7.4 with grep in /nix/store/3881hzp2frwjsw7xyafvr3zzlyacv7a8-zimg-2.7.4 - found 2.7.4 in filename of file in /nix/store/3881hzp2frwjsw7xyafvr3zzlyacv7a8-zimg-2.7.4 cc "@rnhmjoj"
24 lines
649 B
Nix
24 lines
649 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec{
|
|
name = "zimg-${version}";
|
|
version = "2.7.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sekrit-twc";
|
|
repo = "zimg";
|
|
rev = "release-${version}";
|
|
sha256 = "1gpmf6algpl1g1z891jfnsici84scg2cq1kj4v90glgik9z99mci";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|