nixpkgs/pkgs/by-name/_9/_9menu/package.nix
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03: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;
};
}