1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "release-${version}";
11 sha256 = "sha256-DCSqHCnOyIvKtIAfprb8tgtzLn67Ix6BWyeIliu0HO4=";
14 outputs = [ "out" "dev" "doc" ];
16 nativeBuildInputs = [ autoreconfHook ];
18 enableParallelBuilding = true;
21 description = "Scaling, colorspace conversion and dithering library";
22 homepage = "https://github.com/sekrit-twc/zimg";
23 license = licenses.wtfpl;
24 platforms = with platforms; unix ++ windows;
25 maintainers = with maintainers; [ rnhmjoj ];