sway-launcher-desktop: init at 1.5.4
This commit is contained in:
parent
9548cdc0a5
commit
fb4fe342b8
42
pkgs/applications/misc/sway-launcher-desktop/default.nix
Normal file
42
pkgs/applications/misc/sway-launcher-desktop/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ stdenv, lib, pkgs, fzf, gawk, fetchFromGitHub, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "sway-launcher-desktop";
|
||||||
|
version = "1.5.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Biont";
|
||||||
|
repo = "sway-launcher-desktop";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0i19igj30jyszqb63ibq0b0zxzvjw3z1zikn9pbk44ig1c0v61aa";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs ${pname}.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ fzf gawk ];
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -d $out/bin
|
||||||
|
install ${pname}.sh $out/bin/${pname}
|
||||||
|
wrapProgram $out/bin/${pname} \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ gawk fzf ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "TUI Application launcher with Desktop Entry support.";
|
||||||
|
longDescription = ''
|
||||||
|
This is a TUI-based launcher menu made with bash and the amazing fzf.
|
||||||
|
Despite its name, it does not (read: no longer) depend on the Sway window manager
|
||||||
|
in any way and can be used with just about any WM.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/Biont/sway-launcher-desktop";
|
||||||
|
changelog = "https://github.com/Biont/sway-launcher-desktop/releases/tag/v${version}";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.mrhedgehog ];
|
||||||
|
mainProgram = "${pname}";
|
||||||
|
};
|
||||||
|
}
|
@ -28880,6 +28880,8 @@ with pkgs;
|
|||||||
|
|
||||||
styx = callPackage ../applications/misc/styx { };
|
styx = callPackage ../applications/misc/styx { };
|
||||||
|
|
||||||
|
sway-launcher-desktop = callPackage ../applications/misc/sway-launcher-desktop { };
|
||||||
|
|
||||||
tecoc = callPackage ../applications/editors/tecoc { };
|
tecoc = callPackage ../applications/editors/tecoc { };
|
||||||
|
|
||||||
viber = callPackage ../applications/networking/instant-messengers/viber { };
|
viber = callPackage ../applications/networking/instant-messengers/viber { };
|
||||||
|
Loading…
Reference in New Issue
Block a user