nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 36 lines 713 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "zimg"; 10 version = "3.0.5"; 11 12 src = fetchFromGitHub { 13 owner = "sekrit-twc"; 14 repo = "zimg"; 15 rev = "release-${version}"; 16 sha256 = "sha256-DCSqHCnOyIvKtIAfprb8tgtzLn67Ix6BWyeIliu0HO4="; 17 }; 18 19 outputs = [ 20 "out" 21 "dev" 22 "doc" 23 ]; 24 25 nativeBuildInputs = [ autoreconfHook ]; 26 27 enableParallelBuilding = true; 28 29 meta = with lib; { 30 description = "Scaling, colorspace conversion and dithering library"; 31 homepage = "https://github.com/sekrit-twc/zimg"; 32 license = licenses.wtfpl; 33 platforms = with platforms; unix ++ windows; 34 maintainers = with maintainers; [ rnhmjoj ]; 35 }; 36}