2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, imlib2, libX11, libXft, libXinerama }:
|
2020-07-28 19:48:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmenu";
|
2020-11-12 12:19:43 +01:00
|
|
|
version = "4.4.1";
|
2020-07-28 19:48:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phillbush";
|
|
|
|
repo = "xmenu";
|
|
|
|
rev = "v${version}";
|
2020-11-12 12:19:43 +01:00
|
|
|
sha256 = "1s70zvsaqnsjqs298vw3py0vcvia68xlks1wcz37pb88bwligz1x";
|
2020-07-28 19:48:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ imlib2 libX11 libXft libXinerama ];
|
|
|
|
|
|
|
|
postPatch = "sed -i \"s:/usr/local:$out:\" config.mk";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-26 05:08:40 +01:00
|
|
|
description = "A menu utility for X";
|
2020-07-28 19:48:04 +02:00
|
|
|
homepage = "https://github.com/phillbush/xmenu";
|
2020-11-12 12:19:43 +01:00
|
|
|
license = licenses.mit;
|
2020-07-28 19:48:04 +02:00
|
|
|
maintainers = with maintainers; [ neonfuz ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|