3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #43550 from IvanMalison/add_rofi-systemd

rofi-systemd: init at 0.1.0
This commit is contained in:
Matthew Bauer 2018-08-15 19:56:16 -05:00 committed by GitHub
commit 3d6448250f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ stdenv, fetchFromGitHub, rofi, systemd, coreutils, utillinux, gawk, makeWrapper
}:
stdenv.mkDerivation rec {
name = "rofi-systemd-${version}";
version = "0.1.0";
src = fetchFromGitHub {
owner = "IvanMalison";
repo = "rofi-systemd";
rev = "v${version}";
sha256 = "1dbygq3qaj1f73hh3njdnmibq7vi6zbyzdc6c0j989c0r1ksv0zi";
};
buildInputs = [ makeWrapper ];
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp -a rofi-systemd $out/bin/rofi-systemd
'';
wrapperPath = with stdenv.lib; makeBinPath [
rofi
coreutils
utillinux
gawk
systemd
];
fixupPhase = ''
patchShebangs $out/bin
wrapProgram $out/bin/rofi-systemd --prefix PATH : "${wrapperPath}"
'';
meta = {
description = "Control your systemd units using rofi";
homepage = https://github.com/IvanMalison/rofi-systemd;
maintainers = with stdenv.lib.maintainers; [ imalison ];
license = stdenv.lib.licenses.gpl3;
platforms = with stdenv.lib.platforms; linux;
};
}

View file

@ -18165,6 +18165,8 @@ with pkgs;
rofi-menugen = callPackage ../applications/misc/rofi-menugen { }; rofi-menugen = callPackage ../applications/misc/rofi-menugen { };
rofi-systemd = callPackage ../tools/system/rofi-systemd { };
rpcs3 = libsForQt5.callPackage ../misc/emulators/rpcs3 { }; rpcs3 = libsForQt5.callPackage ../misc/emulators/rpcs3 { };
rstudio = libsForQt5.callPackage ../applications/editors/rstudio { rstudio = libsForQt5.callPackage ../applications/editors/rstudio {