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

26 lines
674 B
Nix
Raw Normal View History

2016-08-27 03:28:25 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
2019-06-27 21:23:56 +00:00
stdenv.mkDerivation rec {
pname = "zimg";
version = "2.9.2";
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}";
sha256 = "0jlgrlfs9maixd8mx7gk2kfawz8ixnihkxi7vhyzfy1gq49vmxm2";
2016-08-27 03:28:25 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
2016-08-27 03:28:25 +00:00
2019-06-27 21:23:56 +00:00
enableParallelBuilding = true;
2016-08-27 03:28:25 +00:00
meta = with stdenv.lib; {
description = "Scaling, colorspace conversion and dithering library";
2017-02-04 18:32:13 +00:00
homepage = https://github.com/sekrit-twc/zimg;
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 ];
};
}