2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, gdk-pixbuf, libGL, mesa }:
|
2019-03-30 00:49:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "blur-effect";
|
|
|
|
version = "1.1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sonald";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0cjw7iz0p7x1bi4vmwrivfidry5wlkgfgdl9wly88cm3z9ib98jj";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 09:17:16 +00:00
|
|
|
pkg-config
|
2019-03-30 00:49:19 +00:00
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-05-22 11:03:39 +00:00
|
|
|
gdk-pixbuf
|
2019-03-30 00:49:19 +00:00
|
|
|
libGL
|
|
|
|
mesa
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sonald/blur-effect";
|
2019-03-30 00:49:19 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|