1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "rofi-power-menu";
7 src = fetchFromGitHub {
9 repo = "rofi-power-menu";
11 sha256 = "sha256-VPCfmCTr6ADNT7MW4jiqLI/lvTjlAu1QrCAugiD0toU=";
16 cp rofi-power-menu $out/bin/rofi-power-menu
17 cp dmenu-power-menu $out/bin/dmenu-power-menu
21 description = "Shows a Power/Lock menu with Rofi";
22 homepage = "https://github.com/jluttine/rofi-power-menu";
23 maintainers = with maintainers; [ ikervagyok ];
24 platforms = platforms.linux;
25 mainProgram = "rofi-power-menu";