mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
rofi: 0.15.12 -> 1.0.0 (#14950)
This commit is contained in:
parent
73182fd328
commit
fb13625a44
@ -1,21 +1,31 @@
|
|||||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig
|
||||||
, libX11, libXinerama, pango, cairo
|
, libX11, libxkbcommon, pango, cairo, glib
|
||||||
|
, libxcb, xcbutil, xcbutilwm, which, git
|
||||||
, libstartup_notification, i3Support ? false, i3
|
, libstartup_notification, i3Support ? false, i3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rofi-${version}";
|
name = "rofi-${version}";
|
||||||
version = "0.15.12";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/DaveDavenport/rofi/archive/${version}.tar.gz";
|
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz";
|
||||||
sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5";
|
sha256 = "0ard95pjgykafm5ga8lfy7x206f07lrc6kara5s9irlhdgblq2m5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ autoreconfHook pkgconfig libX11 libXinerama pango
|
preConfigure = ''
|
||||||
cairo libstartup_notification
|
patchShebangs "script"
|
||||||
|
# root not present in build /etc/passwd
|
||||||
|
sed -i 's/~root/~nobody/g' test/helper-expand.c
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango
|
||||||
|
cairo libstartup_notification libxcb xcbutil xcbutilwm
|
||||||
|
which git
|
||||||
] ++ stdenv.lib.optional i3Support i3;
|
] ++ stdenv.lib.optional i3Support i3;
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Window switcher, run dialog and dmenu replacement";
|
description = "Window switcher, run dialog and dmenu replacement";
|
||||||
homepage = https://davedavenport.github.io/rofi;
|
homepage = https://davedavenport.github.io/rofi;
|
||||||
|
Loading…
Reference in New Issue
Block a user