1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/misc/xmenu/default.nix

26 lines
656 B
Nix
Raw Normal View History

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