about summary refs log tree commit diff
path: root/pkgs/tools/graphics/blur-effect
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2019-03-29 21:49:19 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2019-03-31 22:36:34 -0300
commit56488c92572e636ee7c6d5e4e21d7b2888ee2da1 (patch)
tree5fd89af842e99cf93c6ca531c1725f9a82edee41 /pkgs/tools/graphics/blur-effect
parent158bc85918af0493274432accbc73f22d2b98de6 (diff)
blur-effect: init at 1.1.3
Diffstat (limited to 'pkgs/tools/graphics/blur-effect')
-rw-r--r--pkgs/tools/graphics/blur-effect/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/blur-effect/default.nix b/pkgs/tools/graphics/blur-effect/default.nix
new file mode 100644
index 0000000000000..5bb2099843969
--- /dev/null
+++ b/pkgs/tools/graphics/blur-effect/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, pkgconfig, cmake, gdk_pixbuf, libGL, mesa }:
+
+stdenv.mkDerivation rec {
+  pname = "blur-effect";
+  version = "1.1.3";
+
+  src = fetchFromGitHub {
+    owner = "sonald";
+    repo = pname;
+    rev = version;
+    sha256 = "0cjw7iz0p7x1bi4vmwrivfidry5wlkgfgdl9wly88cm3z9ib98jj";
+  };
+
+  nativeBuildInputs = [
+    pkgconfig
+    cmake
+  ];
+
+  buildInputs = [
+    gdk_pixbuf
+    libGL
+    mesa
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/sonald/blur-effect;
+    description = "Off-screen image blurring utility using OpenGL ES 3.0";
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    broken = stdenv.hostPlatform.isDarwin; # packages 'libdrm' and 'gbm' not found
+    maintainers = with maintainers; [ romildo ];
+  };
+}