nixpkgs/pkgs/development/libraries/zimg/default.nix
2017-02-04 19:33:46 +01:00

23 lines
641 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec{
name = "zimg-${version}";
version = "2.4";
src = fetchFromGitHub {
owner = "sekrit-twc";
repo = "zimg";
rev = "v${version}";
sha256 = "11pk8a5manr751jhy0xrql57jzab57lwqjxbpd8kvm9m8b51icwq";
};
buildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
description = "Scaling, colorspace conversion and dithering library";
homepage = https://github.com/sekrit-twc/zimg;
license = licenses.wtfpl;
platforms = platforms.linux; # check upstream issue #52
maintainers = with maintainers; [ rnhmjoj ];
};
}