94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
26 lines
662 B
Nix
26 lines
662 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rofi-power-menu";
|
|
version = "3.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jluttine";
|
|
repo = "rofi-power-menu";
|
|
rev = version;
|
|
sha256 = "sha256-VPCfmCTr6ADNT7MW4jiqLI/lvTjlAu1QrCAugiD0toU=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp rofi-power-menu $out/bin/rofi-power-menu
|
|
cp dmenu-power-menu $out/bin/dmenu-power-menu
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Shows a Power/Lock menu with Rofi";
|
|
homepage = "https://github.com/jluttine/rofi-power-menu";
|
|
maintainers = with maintainers; [ ikervagyok ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|