1 { lib, stdenv, fetchFromGitHub, xorg, i3lock }:
4 pname = "i3lock-fancy-rapid";
5 version = "unstable-2021-04-21";
7 src = fetchFromGitHub {
9 repo = "i3lock-fancy-rapid";
10 rev = "6eeebd4caa177b82fa5010b5e8828cce3f89fb97";
11 hash = "sha256-EoX8ts0yV/zkb4wgEh4P8noU+UraRS4w9pp+76v+Nm0=";
14 buildInputs = [ xorg.libX11 ];
16 propagatedBuildInputs = [ i3lock ];
19 substituteInPlace i3lock-fancy-rapid.c \
20 --replace '"i3lock"' '"${i3lock}/bin/i3lock"'
26 install -D i3lock-fancy-rapid $out/bin/i3lock-fancy-rapid
27 ln -s $out/bin/i3lock-fancy-rapid $out/bin/i3lock
33 description = "Faster implementation of i3lock-fancy";
34 homepage = "https://github.com/yvbbrjdr/i3lock-fancy-rapid";
35 maintainers = with maintainers; [ nickhu ];
36 license = licenses.bsd3;
37 platforms = platforms.linux;