2016-08-27 04:28:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "zimg-${version}";
|
|
|
|
version = "2.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
|
|
|
rev = "e88b156fdd6d5ae647bfc68a30e86d14f214764d";
|
|
|
|
sha256 = "1hb35pm9ykdyhg71drd59yy29d154m2r1mr8ikyzpi3knanjn23a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
|
|
|
homepage = https://github.com/sekrit-twc/zimg;
|
|
|
|
license = licenses.wtfpl;
|
2016-09-08 15:31:01 +01:00
|
|
|
platforms = platforms.linux; # check upstream issue #52
|
2016-08-27 04:28:25 +01:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|