mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
f3fdc97111
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
27 lines
668 B
Nix
27 lines
668 B
Nix
{ lib, stdenv, fetchFromGitHub, rofi }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rofi-power-menu";
|
|
version = "3.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jluttine";
|
|
repo = "rofi-power-menu";
|
|
rev = version;
|
|
sha256 = "sha256-Bkc87BXSnAR517wCkyOAfoACYx/5xprDGJQhLWGUNns=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|