mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
755b915a15
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/'
42 lines
857 B
Nix
42 lines
857 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, cairo
|
|
, pango
|
|
, wayland
|
|
, wayland-protocols
|
|
, wayland-scanner
|
|
, libxkbcommon
|
|
, scdoc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wmenu";
|
|
version = "0.1.8";
|
|
|
|
strictDeps = true;
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~adnano";
|
|
repo = "wmenu";
|
|
rev = version;
|
|
hash = "sha256-gVoqRHQ5bcY58LTgKxpPM1PnZJrLRoSOJUiYYqc/vRI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
|
|
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];
|
|
|
|
meta = with lib; {
|
|
description = "Efficient dynamic menu for Sway and wlroots based Wayland compositors";
|
|
homepage = "https://git.sr.ht/~adnano/wmenu";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ eken ];
|
|
mainProgram = "wmenu";
|
|
};
|
|
}
|
|
|