nixpkgs/pkgs/development/libraries/zimg/default.nix

26 lines
676 B
Nix
Raw Normal View History

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