From 735bbda892547d46315cfc7e4af5ebaa30117f06 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 27 Aug 2016 05:28:25 +0200 Subject: [PATCH] zimg: init at 2.2.1 --- pkgs/development/libraries/zimg/default.nix | 23 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/zimg/default.nix diff --git a/pkgs/development/libraries/zimg/default.nix b/pkgs/development/libraries/zimg/default.nix new file mode 100644 index 000000000000..3f11cd71a3f8 --- /dev/null +++ b/pkgs/development/libraries/zimg/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec{ + name = "zimg-${version}"; + version = "2.2.1"; + + src = fetchFromGitHub { + owner = "sekrit-twc"; + repo = "zimg"; + rev = "e88b156fdd6d5ae647bfc68a30e86d14f214764d"; + sha256 = "1hb35pm9ykdyhg71drd59yy29d154m2r1mr8ikyzpi3knanjn23a"; + }; + + buildInputs = [ autoreconfHook ]; + + meta = with stdenv.lib; { + description = "Scaling, colorspace conversion and dithering library"; + homepage = https://github.com/sekrit-twc/zimg; + license = licenses.wtfpl; + platform = platforms.linux; # check upstream issue #52 + maintainers = with maintainers; [ rnhmjoj ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74bde248417b..886f2a900665 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17679,6 +17679,8 @@ in maphosts = callPackage ../tools/networking/maphosts {}; + zimg = callPackage ../development/libraries/zimg { }; + zuki-themes = callPackage ../misc/themes/zuki { }; zoom-us = qt55.callPackage ../applications/networking/instant-messengers/zoom-us {};