2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, imlib2, libX11, libXft, libXinerama }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmenu";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "4.5.4";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillbush";
|
|
|
|
repo = "xmenu";
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1dy3aqqczs7d3f8rf6h7xssgr3881g8m5y4waskizjy9z7chs64q";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ imlib2 libX11 libXft libXinerama ];
|
|
|
|
|
|
|
|
postPatch = "sed -i \"s:/usr/local:$out:\" config.mk";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "A menu utility for X";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/phillbush/xmenu";
|
2020-11-12 23:50:31 +00:00
|
|
|
license = licenses.mit;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ neonfuz ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|