depot/third_party/nixpkgs/pkgs/tools/graphics/blur-effect/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

33 lines
777 B
Nix

{ 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 ];
};
}