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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
653 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, imlib2, libX11, libXft, libXinerama }:
2020-07-28 19:48:04 +02:00
stdenv.mkDerivation rec {
pname = "xmenu";
2021-08-14 13:09:35 +02:00
version = "4.5.5";
2020-07-28 19:48:04 +02:00
src = fetchFromGitHub {
owner = "phillbush";
repo = "xmenu";
rev = "v${version}";
2021-08-14 13:09:35 +02:00
sha256 = "sha256-Gg4hSBBVBOB/wlY44C5bJOuOnLoA/tPvcNZamXae/WE=";
2020-07-28 19:48:04 +02:00
};
buildInputs = [ imlib2 libX11 libXft libXinerama ];
postPatch = "sed -i \"s:/usr/local:$out:\" config.mk";
meta = with lib; {
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;
};
}