2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zimg";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "3.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sekrit-twc";
|
|
|
|
repo = "zimg";
|
|
|
|
rev = "release-${version}";
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Scaling, colorspace conversion and dithering library";
|
|
|
|
homepage = "https://github.com/sekrit-twc/zimg";
|
|
|
|
license = licenses.wtfpl;
|
2023-01-20 10:41:00 +00:00
|
|
|
platforms = with platforms; unix ++ windows;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|