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