2016-08-26 20:28:25 -07:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
2019-06-27 14:23:56 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zimg";
|
2020-08-12 16:29:13 -07:00
|
|
|
version = "3.0";
|
2016-08-26 20:28:25 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-02-04 10:32:13 -08:00
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
2017-11-05 06:22:24 -08:00
|
|
|
rev = "release-${version}";
|
2020-08-12 16:29:13 -07:00
|
|
|
sha256 = "157lqfgz4lqa782iij7lkajgjbxv3vqf6y5hpdz36i6dg06paqqa";
|
2016-08-26 20:28:25 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-08-26 20:28:25 -07:00
|
|
|
|
2019-06-27 14:23:56 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-08-26 20:28:25 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
2020-03-04 06:06:34 -08:00
|
|
|
homepage = "https://github.com/sekrit-twc/zimg";
|
2017-02-04 10:32:13 -08:00
|
|
|
license = licenses.wtfpl;
|
2017-04-20 21:44:38 -07:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-08-26 20:28:25 -07:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|