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