2016-08-27 04:28:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "zimg-${version}";
|
2017-02-04 18:32:13 +00:00
|
|
|
version = "2.4";
|
2016-08-27 04:28:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-02-04 18:32:13 +00:00
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "11pk8a5manr751jhy0xrql57jzab57lwqjxbpd8kvm9m8b51icwq";
|
2016-08-27 04:28:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
2017-02-04 18:32:13 +00:00
|
|
|
homepage = https://github.com/sekrit-twc/zimg;
|
|
|
|
license = licenses.wtfpl;
|
2017-04-21 05:44:38 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-08-27 04:28:25 +01:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|