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

24 lines
649 B
Nix
Raw Normal View History

2016-08-26 20:28:25 -07:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec{
name = "zimg-${version}";
version = "2.7.4";
2016-08-26 20:28:25 -07:00
src = fetchFromGitHub {
2017-02-04 10:32:13 -08:00
owner = "sekrit-twc";
repo = "zimg";
2017-11-05 06:22:24 -08:00
rev = "release-${version}";
sha256 = "1gpmf6algpl1g1z891jfnsici84scg2cq1kj4v90glgik9z99mci";
2016-08-26 20:28:25 -07:00
};
nativeBuildInputs = [ autoreconfHook ];
2016-08-26 20:28:25 -07:00
meta = with stdenv.lib; {
description = "Scaling, colorspace conversion and dithering library";
2017-02-04 10:32:13 -08:00
homepage = https://github.com/sekrit-twc/zimg;
license = licenses.wtfpl;
2017-04-20 21:44:38 -07:00
platforms = platforms.linux ++ platforms.darwin;
2016-08-26 20:28:25 -07:00
maintainers = with maintainers; [ rnhmjoj ];
};
}