biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / window-managers / i3 / lock-blur.nix
blobdc8e8250135b68804529378ac6c7546e49d33f96
1 { i3lock-color, lib, stdenv, fetchFromGitHub, fetchpatch, libGL }:
3 i3lock-color.overrideAttrs (oldAttrs : rec {
4   pname = "i3lock-blur";
5   version = "2.10";
7   src = fetchFromGitHub {
8     owner = "karulont";
9     repo = "i3lock-blur";
10     rev = version;
11     sha256 = "sha256-rBQHYVD9rurzTEXrgEnOziOP22D2EePC1+EV9Wi2pa0=";
12   };
14   patches = [
15     # Pull patch pending upstream inclusion for -fno-common toolchain
16     # support: https://github.com/karulont/i3lock-blur/pull/22
17     (fetchpatch {
18       name = "fno-common.patch";
19       url = "https://github.com/karulont/i3lock-blur/commit/ec8fe0e7f7d78bf445602ed517efd5c324bb32f7.patch";
20       sha256 = "sha256-0hXUr+ZEB1tpI3xw80/hGzKyeGuna4CQmEvK6t0VBqU=";
21     })
22   ];
24   buildInputs = oldAttrs.buildInputs ++ [ libGL ];
26   meta = with lib; {
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
33   };