mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
24 lines
634 B
Nix
24 lines
634 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 ++ platforms.darwin;
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
};
|
|
}
|