1 { i3lock-color, lib, stdenv, fetchFromGitHub, fetchpatch, libGL }:
3 i3lock-color.overrideAttrs (oldAttrs : rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-rBQHYVD9rurzTEXrgEnOziOP22D2EePC1+EV9Wi2pa0=";
15 # Pull patch pending upstream inclusion for -fno-common toolchain
16 # support: https://github.com/karulont/i3lock-blur/pull/22
18 name = "fno-common.patch";
19 url = "https://github.com/karulont/i3lock-blur/commit/ec8fe0e7f7d78bf445602ed517efd5c324bb32f7.patch";
20 sha256 = "sha256-0hXUr+ZEB1tpI3xw80/hGzKyeGuna4CQmEvK6t0VBqU=";
24 buildInputs = oldAttrs.buildInputs ++ [ libGL ];
27 description = "Improved screenlocker based upon XCB and PAM with background blurring filter";
28 homepage = "https://github.com/karulont/i3lock-blur/";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ dan4ik605743 ];
31 platforms = platforms.all;
32 broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/i3lock-blur.x86_64-darwin