24 lines
649 B
Nix
24 lines
649 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec{
|
|
name = "zimg-${version}";
|
|
version = "2.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sekrit-twc";
|
|
repo = "zimg";
|
|
rev = "release-${version}";
|
|
sha256 = "08hynzcxz95a4i67k5cn6isafdb6xjgd0x0miyhlnp2xc220zfqj";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|