2016-08-27 06:28:25 +03:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "zimg-${version}";
|
2018-02-28 06:24:52 +03:00
|
|
|
version = "2.7.4";
|
2016-08-27 06:28:25 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-02-04 21:32:13 +03:00
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
2017-11-05 17:22:24 +03:00
|
|
|
rev = "release-${version}";
|
2018-02-28 06:24:52 +03:00
|
|
|
sha256 = "1gpmf6algpl1g1z891jfnsici84scg2cq1kj4v90glgik9z99mci";
|
2016-08-27 06:28:25 +03:00
|
|
|
};
|
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-08-27 06:28:25 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
2017-02-04 21:32:13 +03:00
|
|
|
homepage = https://github.com/sekrit-twc/zimg;
|
|
|
|
license = licenses.wtfpl;
|
2017-04-21 07:44:38 +03:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-08-27 06:28:25 +03:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|