depot/pkgs/by-name/_9/_9menu/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 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;
};
}