nixpkgs/pkgs/applications/misc/rofi/default.nix
2015-07-12 04:43:27 +02:00

29 lines
786 B
Nix

{ stdenv, fetchurl, autoconf, automake, pkgconfig
, libX11, libXinerama, libXft, pango
, i3Support ? false, i3
}:
stdenv.mkDerivation rec {
name = "rofi-${version}";
version = "0.15.7";
src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/archive/${version}.tar.gz";
sha256 = "0alygwc82shkg9lmy8r5vmgd84imx1f9pndrisjpisl8h28dw5dq";
};
buildInputs = [ autoconf automake pkgconfig libX11 libXinerama libXft pango
] ++ stdenv.lib.optional i3Support i3;
preConfigure = ''
autoreconf -vif
'';
meta = {
description = "Window switcher, run dialog and dmenu replacement";
homepage = https://davedavenport.github.io/rofi;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.mbakke ];
};
}