6 # Dependencies (@see https://github.com/pavanjadhaw/betterlockscreen/blob/master/shell.nix)
23 [ bc coreutils dbus i3lock-color gawk gnugrep gnused imagemagick procps xorg.xdpyinfo xorg.xrandr xorg.xset ]
24 ++ lib.optionals withDunst [ dunst ];
27 stdenv.mkDerivation rec {
28 pname = "betterlockscreen";
31 src = fetchFromGitHub {
32 owner = "pavanjadhaw";
33 repo = "betterlockscreen";
35 sha256 = "sha256-e/NyUxrN18+x2zt+JzqVA00P8VdHo8oj9Bx09XKI+Eg=";
38 nativeBuildInputs = [ makeWrapper ];
44 cp betterlockscreen $out/bin/betterlockscreen
45 wrapProgram "$out/bin/betterlockscreen" \
46 --prefix PATH : "$out/bin:${lib.makeBinPath runtimeDeps}"
52 description = "Fast and sweet looking lockscreen for linux systems with effects!";
53 homepage = "https://github.com/pavanjadhaw/betterlockscreen";
54 mainProgram = "betterlockscreen";
55 license = licenses.mit;
56 platforms = platforms.linux;
57 maintainers = with maintainers; [ eyjhb sebtm ];