18 depsPath = lib.makeBinPath [
29 mainProgram = "swaylock-fancy";
33 pname = "swaylock-fancy";
34 version = "unstable-2023-12-22";
36 src = fetchFromGitHub {
38 repo = "swaylock-fancy";
39 rev = "0b93740e1dfc39883c125c212a1adc16b01c14f1";
40 hash = "sha256-ko4SeHGNBiPMvxFXhD+U2r0Mwc14C2IN5CaJYI0V8u8=";
44 substituteInPlace ${mainProgram} \
45 --replace "/usr/share" "$out/share"
49 nativeBuildInputs = [ makeWrapper ];
50 buildInputs = [ bash ];
52 makeFlags = [ "PREFIX=${placeholder "out"}" ];
55 wrapProgram $out/bin/${mainProgram} \
56 --prefix PATH : "${depsPath}"
60 description = "This is an swaylock bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text";
61 homepage = "https://github.com/Big-B/swaylock-fancy";
62 license = licenses.mit;
63 platforms = platforms.linux;
64 maintainers = with maintainers; [ frogamic ];