diff options
author | ocfox <i@ocfox.me> | 2023-09-27 13:22:32 +0800 |
---|---|---|
committer | ocfox <i@ocfox.me> | 2023-10-05 18:17:38 +0800 |
commit | 131661dee419e9905dcda9c60aebf88e6bcbfd7b (patch) | |
tree | b26455fc9ab0ceea0df11346a2b01e4584acf0c4 | |
parent | 9433c197b202b8a1ff34c66975d4cfaafe840136 (diff) |
gbar: init at unstable-2023-09-21
-rw-r--r-- | pkgs/by-name/gb/gbar/package.nix | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/by-name/gb/gbar/package.nix b/pkgs/by-name/gb/gbar/package.nix new file mode 100644 index 0000000000000..faa930e9aee81 --- /dev/null +++ b/pkgs/by-name/gb/gbar/package.nix @@ -0,0 +1,58 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, cmake +, pkg-config +, libdbusmenu-gtk3 +, gtk-layer-shell +, stb +, wayland-protocols +, wayland-scanner +, bluez +, gtk3 +, libpulseaudio +, wayland +}: + +stdenv.mkDerivation { + pname = "gbar"; + version = "unstable-2023-09-21"; + + src = fetchFromGitHub { + owner = "scorpion-26"; + repo = "gBar"; + rev = "96485f408efe411f281fa27dceb6d86399ec7804"; + hash = "sha256-4zPvo0JBQOV1qn2X2iI8/JWYEQjFf9sDEICIWSCeaWk="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ + meson + ninja + cmake + pkg-config + ]; + + buildInputs = [ + wayland + wayland-protocols + wayland-scanner + bluez + gtk3 + gtk-layer-shell + libpulseaudio + stb + libdbusmenu-gtk3 + ]; + + meta = with lib; { + description = "Blazingly fast status bar written with GTK"; + homepage = "https://github.com/scorpion-26/gBar"; + license = licenses.mit; + maintainers = with maintainers; [ ocfox ]; + mainProgram = "gBar"; + platforms = platforms.linux; + }; +} |