2016-08-27 05:28:25 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "zimg-${version}";
|
2016-10-31 21:44:57 +01:00
|
|
|
version = "2.3";
|
2016-08-27 05:28:25 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
2016-10-31 21:44:57 +01:00
|
|
|
rev = "9cbe9b0de66a690bdd142bae0e656e27c1f50ade";
|
|
|
|
sha256 = "1qj5fr8ghgnyfjzdvgkvplicqsgyp05g3pvsdrg9yivvx32291hp";
|
2016-08-27 05:28:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 16:31:01 +02:00
|
|
|
platforms = platforms.linux; # check upstream issue #52
|
2016-08-27 05:28:25 +02:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|