mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
41 lines
812 B
Nix
41 lines
812 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, fetchpatch
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, cairo
|
|
, pango
|
|
, wayland
|
|
, wayland-protocols
|
|
, libxkbcommon
|
|
, scdoc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wmenu";
|
|
version = "0.1.4";
|
|
|
|
strictDeps = true;
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~adnano";
|
|
repo = "wmenu";
|
|
rev = version;
|
|
hash = "sha256-aB23wi8kLBKAvQv2UPsfqVMCjakdsM6AzH8LgGv3HPs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
|
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];
|
|
|
|
meta = with lib; {
|
|
description = "An 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 ];
|
|
};
|
|
}
|
|
|