Merge pull request #99688 from kylesferrazza/fix-99637

multilockscreen: init at 1.0.0
This commit is contained in:
Silvan Mosberger 2020-11-25 01:51:57 +01:00 committed by GitHub
commit bb59f101e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{
stdenv, makeWrapper, fetchFromGitHub, writeShellScriptBin,
imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh, procps, xrdb, xset,
gnused, gnugrep, coreutils
}:
let
i3lock = writeShellScriptBin "i3lock" ''
${i3lock-color}/bin/i3lock-color "$@"
'';
binPath = stdenv.lib.makeBinPath [
imagemagick i3lock
xdpyinfo xrandr xset
bc feh procps xrdb
gnused gnugrep coreutils
];
in
stdenv.mkDerivation rec {
pname = "multilockscreen";
version = "1.0.0";
src = fetchFromGitHub {
owner = "jeffmhubbard";
repo = pname;
rev = "v${version}";
sha256 = "0gmnrq7ibbhiwsn7mfi2r71fwm6nvhiwf4wsyz44cscm474z83p0";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp multilockscreen $out/bin/multilockscreen
wrapProgram "$out/bin/multilockscreen" --prefix PATH : "${binPath}"
'';
meta = with stdenv.lib; {
description = "Wrapper script for i3lock-color";
longDescription = ''
multilockscreen is a wrapper script for i3lock-color.
It allows you to cache background images for i3lock-color with a variety of different effects and adds a stylish indicator.
'';
homepage = "https://github.com/jeffmhubbard/multilockscreen";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ kylesferrazza ];
};
}

View File

@ -21748,6 +21748,8 @@ in
inherit (xorg) xrdb;
};
multilockscreen = callPackage ../misc/screensavers/multilockscreen { };
i3minator = callPackage ../tools/misc/i3minator { };
i3pystatus = callPackage ../applications/window-managers/i3/pystatus.nix { };