1 { lib, stdenv, i3lock, imagemagick, scrot, playerctl, fetchFromGitLab }:
3 stdenv.mkDerivation rec {
4 pname = "i3lock-pixeled";
7 src = fetchFromGitLab {
9 repo = "i3lock-pixeled";
11 sha256 = "1l9yjf9say0mcqnnjkyj4z3f6y83bnx4jsycd1h10p3m8afbh8my";
14 propagatedBuildInputs = [
26 substituteInPlace i3lock-pixeled \
27 --replace i3lock "${i3lock}/bin/i3lock" \
28 --replace convert "${imagemagick}/bin/convert" \
29 --replace scrot "${scrot}/bin/scrot" \
30 --replace playerctl "${playerctl}/bin/playerctl"
34 description = "Simple i3lock helper which pixels a screenshot by scaling it down and up to get a pixeled version of the screen when the lock is active";
35 homepage = "https://gitlab.com/Ma27/i3lock-pixeled";
36 license = licenses.mit;
37 platforms = platforms.linux;
38 maintainers = with maintainers; [ ma27 ];