nixpkgs/pkgs/applications/misc/9menu/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

34 lines
753 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, libX11
, libXext
}:
stdenv.mkDerivation rec {
pname = "9menu";
version = "unstable-2021-02-24";
src = fetchFromGitHub {
owner = "arnoldrobbins";
repo = pname;
rev = "00cbf99c48dc580ca28f81ed66c89a98b7a182c8";
sha256 = "arca8Gbr4ytiCk43cifmNj7SUrDgn1XB26zAhZrVDs0=";
};
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ libX11 libXext ];
meta = with lib; {
homepage = "https://github.com/arnoldrobbins/9menu";
description = "Simple X11 menu program for running commands";
mainProgram = "9menu";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = libX11.meta.platforms;
};
}