3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/rofi/default.nix

29 lines
786 B
Nix
Raw Normal View History

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