diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/zimg')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/zimg/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/zimg/default.nix b/nixpkgs/pkgs/development/libraries/zimg/default.nix new file mode 100644 index 000000000000..afb13a03cbbf --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/zimg/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "zimg"; + version = "3.0.1"; + + src = fetchFromGitHub { + owner = "sekrit-twc"; + repo = "zimg"; + rev = "release-${version}"; + sha256 = "1mpns443ifbkbaxsw6yy8z01l7815259pxzd7s006npr0dxnc8ng"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + enableParallelBuilding = true; + + 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 ]; + }; +} |