nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 cmake,
7 gdk-pixbuf,
8 libGL,
9 libgbm,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "blur-effect";
14 version = "1.1.3";
15
16 src = fetchFromGitHub {
17 owner = "sonald";
18 repo = "blur-effect";
19 rev = version;
20 sha256 = "0cjw7iz0p7x1bi4vmwrivfidry5wlkgfgdl9wly88cm3z9ib98jj";
21 };
22
23 nativeBuildInputs = [
24 pkg-config
25 cmake
26 ];
27
28 buildInputs = [
29 gdk-pixbuf
30 libGL
31 libgbm
32 ];
33
34 meta = with lib; {
35 homepage = "https://github.com/sonald/blur-effect";
36 description = "Off-screen image blurring utility using OpenGL ES 3.0";
37 license = licenses.gpl3;
38 platforms = platforms.unix;
39 broken = stdenv.hostPlatform.isDarwin; # packages 'libdrm' and 'gbm' not found
40 maintainers = with maintainers; [ romildo ];
41 mainProgram = "blur_image";
42 };
43}