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 = "betterlockscreen";
33 repo = "betterlockscreen";
35 sha256 = "sha256-59Ct7XIfZqU3yaW9FO7UV8SSMLdcZMPRc7WJangxFPo=";
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/betterlockscreen/betterlockscreen";
54 mainProgram = "betterlockscreen";
55 license = licenses.mit;
56 platforms = platforms.linux;
57 maintainers = with maintainers; [ eyjhb sebtm ];