From 763dbd1d4676ae832d819db409fcc22b87fb1e1f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 15 May 2023 21:01:23 +0300 Subject: [PATCH] sfwbar: init at 1.0_beta11 --- pkgs/applications/misc/sfwbar/default.nix | 48 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 50 insertions(+) create mode 100644 pkgs/applications/misc/sfwbar/default.nix diff --git a/pkgs/applications/misc/sfwbar/default.nix b/pkgs/applications/misc/sfwbar/default.nix new file mode 100644 index 000000000000..ec85d9d0e40a --- /dev/null +++ b/pkgs/applications/misc/sfwbar/default.nix @@ -0,0 +1,48 @@ +{ lib +, stdenv +, fetchFromGitHub +, gtk3 +, meson +, ninja +, json_c +, pkg-config +, gtk-layer-shell +, libpulseaudio +, libmpdclient +, libxkbcommon +, +}: +stdenv.mkDerivation rec { + pname = "sfwbar"; + version = "1.0_beta11"; + + src = fetchFromGitHub { + owner = "LBCrion"; + repo = pname; + rev = "v${version}"; + sha256 = "PmpiO5gvurpaFpoq8bQdZ53FYSVDnyjN8MxDpelMnAU="; + }; + + buildInputs = [ + gtk3 + json_c + gtk-layer-shell + libpulseaudio + libmpdclient + libxkbcommon + ]; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ]; + + meta = with lib; { + homepage = "https://github.com/LBCrion/sfwbar"; + description = "A flexible taskbar application for wayland compositors, designed with a stacking layout in mind"; + platforms = platforms.linux; + maintainers = with maintainers; [ NotAShelf ]; + license = licenses.gpl3Only; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8eea39db3800..2c31b7c864e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31234,6 +31234,8 @@ with pkgs; singularity-overriden-nixos ; + sfwbar = callPackage ../applications/misc/sfwbar { }; + skate = callPackage ../applications/misc/skate { }; slack = callPackage ../applications/networking/instant-messengers/slack { };