2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2016-08-27 04:28:25 +01:00
|
|
|
|
2019-06-27 22:23:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zimg";
|
2020-09-07 07:54:13 +01:00
|
|
|
version = "3.0.1";
|
2016-08-27 04:28:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-02-04 18:32:13 +00:00
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
2017-11-05 14:22:24 +00:00
|
|
|
rev = "release-${version}";
|
2020-09-07 07:54:13 +01:00
|
|
|
sha256 = "1mpns443ifbkbaxsw6yy8z01l7815259pxzd7s006npr0dxnc8ng";
|
2016-08-27 04:28:25 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-08-27 04:28:25 +01:00
|
|
|
|
2019-06-27 22:23:56 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-08-27 04:28:25 +01:00
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
2020-03-04 14:06:34 +00:00
|
|
|
homepage = "https://github.com/sekrit-twc/zimg";
|
2017-02-04 18:32:13 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|