summary refs log tree commit diff
path: root/pkgs/development/libraries/zimg
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2016-08-27 05:28:25 +0200
committerrnhmjoj <micheleguerinirocco@me.com>2016-09-04 22:25:46 +0200
commit735bbda892547d46315cfc7e4af5ebaa30117f06 (patch)
treeea9bb27e6800b2a6c714f1520e13eba004a691e3 /pkgs/development/libraries/zimg
parent80660f8261ad77535dd8fbbcc764ff7f4e739896 (diff)
downloadnixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar.gz
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar.bz2
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar.lz
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar.xz
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.tar.zst
nixpkgs-735bbda892547d46315cfc7e4af5ebaa30117f06.zip
zimg: init at 2.2.1
Diffstat (limited to 'pkgs/development/libraries/zimg')
-rw-r--r--pkgs/development/libraries/zimg/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zimg/default.nix b/pkgs/development/libraries/zimg/default.nix
new file mode 100644
index 00000000000..3f11cd71a3f
--- /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 ];
+  };
+}