nixpkgs/pkgs/applications/misc/xmenu/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
678 B
Nix

{ lib, stdenv, fetchFromGitHub, imlib2, libX11, libXft, libXinerama }:
stdenv.mkDerivation rec {
pname = "xmenu";
version = "4.5.5";
src = fetchFromGitHub {
owner = "phillbush";
repo = "xmenu";
rev = "v${version}";
sha256 = "sha256-Gg4hSBBVBOB/wlY44C5bJOuOnLoA/tPvcNZamXae/WE=";
};
buildInputs = [ imlib2 libX11 libXft libXinerama ];
postPatch = "sed -i \"s:/usr/local:$out:\" config.mk";
meta = with lib; {
description = "Menu utility for X";
homepage = "https://github.com/phillbush/xmenu";
license = licenses.mit;
maintainers = with maintainers; [ neonfuz ];
platforms = platforms.all;
mainProgram = "xmenu";
};
}