2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2016-08-27 03:28:25 +00:00
|
|
|
|
2019-06-27 21:23:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zimg";
|
2021-09-08 23:34:21 +00:00
|
|
|
version = "3.0.3";
|
2016-08-27 03:28:25 +00: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}";
|
2021-09-08 23:34:21 +00:00
|
|
|
sha256 = "0pwgf1mybpa3fs13p6jryzm32vfldyql9biwaypqdcimlnlmyk20";
|
2016-08-27 03:28:25 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-08-27 03:28:25 +00:00
|
|
|
|
2019-06-27 21:23:56 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-08-27 03:28:25 +00: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 04:44:38 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-08-27 03:28:25 +00:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|