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

26 lines
798 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, pkgconfig
2016-01-11 00:24:54 +01:00
, libX11, libXinerama, pango, cairo
2015-10-25 23:46:37 +01:00
, libstartup_notification, i3Support ? false, i3
2015-02-05 01:03:09 +01:00
}:
stdenv.mkDerivation rec {
name = "rofi-${version}";
2016-01-11 00:24:54 +01:00
version = "0.15.12";
2015-02-05 01:03:09 +01:00
2015-06-19 00:10:01 +02:00
src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/archive/${version}.tar.gz";
2016-01-11 00:24:54 +01:00
sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5";
2015-02-05 01:03:09 +01:00
};
buildInputs = [ autoreconfHook pkgconfig libX11 libXinerama pango
2015-10-25 23:46:37 +01:00
cairo libstartup_notification
2015-02-05 01:03:09 +01:00
] ++ 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;
2015-06-19 00:10:01 +02:00
maintainers = [ stdenv.lib.maintainers.mbakke ];
2015-02-05 01:03:09 +01:00
};
}