nixpkgs/pkgs/applications/misc/rofi/default.nix

26 lines
686 B
Nix
Raw Normal View History

2015-02-05 03:03:09 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libX11, libXinerama, libXft, pango
, i3Support ? false, i3
}:
stdenv.mkDerivation rec {
version = "0.15.1";
name = "rofi-${version}";
src = fetchFromGitHub {
repo = "rofi";
owner = "DaveDavenport";
rev = "${version}";
sha256 = "11fg85xg7mpw9vldmp163c9y398nvbilwqsl06ms0xbbmpyc2hgz";
};
buildInputs = [ libX11 libXinerama libXft pango autoreconfHook pkgconfig
] ++ stdenv.lib.optional i3Support i3;
meta = {
description = "Window switcher, run dialog and dmenu replacement";
homepage = https://davedavenport.github.io/rofi;
license = stdenv.lib.licenses.mit;
};
}