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

30 lines
852 B
Nix
Raw Normal View History

2015-06-18 15:10:01 -07:00
{ stdenv, fetchurl, autoconf, automake, pkgconfig
2016-01-10 15:24:54 -08:00
, libX11, libXinerama, pango, cairo
2015-10-25 15:46:37 -07:00
, libstartup_notification, i3Support ? false, i3
2015-02-04 16:03:09 -08:00
}:
stdenv.mkDerivation rec {
name = "rofi-${version}";
2016-01-10 15:24:54 -08:00
version = "0.15.12";
2015-02-04 16:03:09 -08:00
2015-06-18 15:10:01 -07:00
src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/archive/${version}.tar.gz";
2016-01-10 15:24:54 -08:00
sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5";
2015-02-04 16:03:09 -08:00
};
2016-01-10 15:24:54 -08:00
buildInputs = [ autoconf automake pkgconfig libX11 libXinerama pango
2015-10-25 15:46:37 -07:00
cairo libstartup_notification
2015-02-04 16:03:09 -08:00
] ++ stdenv.lib.optional i3Support i3;
preConfigure = ''
autoreconf -vif
'';
2015-02-04 16:03:09 -08:00
meta = {
description = "Window switcher, run dialog and dmenu replacement";
homepage = https://davedavenport.github.io/rofi;
license = stdenv.lib.licenses.mit;
2015-06-18 15:10:01 -07:00
maintainers = [ stdenv.lib.maintainers.mbakke ];
2015-02-04 16:03:09 -08:00
};
}