Unverified Commit be2b8ea3 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

xfce.xfce4-alsa-plugin: init at 0.4.0 (#430904)

parents c23b6e72 280275e0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20460,6 +20460,12 @@
    github = "provokateurin";
    githubId = 26026535;
  };
  ProxyVT = {
    email = "tikit.us@outlook.com";
    github = "ProxyVT";
    githubId = 86965169;
    name = "Ulad Tiknyus";
  };
  prrlvr = {
    email = "po@prrlvr.fr";
    github = "prrlvr";
+2 −0
Original line number Diff line number Diff line
@@ -111,6 +111,8 @@ makeScopeWithSplicing' {

      #### PANEL PLUGINS

      xfce4-alsa-plugin = callPackage ./panel-plugins/xfce4-alsa-plugin { };

      xfce4-battery-plugin = callPackage ./panel-plugins/xfce4-battery-plugin { };

      xfce4-clipman-plugin = callPackage ./panel-plugins/xfce4-clipman-plugin { };
+51 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  meson,
  vala,
  pkg-config,
  gettext,
  ninja,
  alsa-lib,
  xfce4-panel,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "xfce4-alsa-plugin";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "equeim";
    repo = "xfce4-alsa-plugin";
    tag = finalAttrs.version;
    hash = "sha256-95uVHDyXji8dut7qfE5V/uBBt6DPYF/YfudHe7HJcE8=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    meson
    vala
    pkg-config
    gettext
    ninja
  ];

  buildInputs = [
    alsa-lib
    xfce4-panel
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    homepage = "https://github.com/equeim/xfce4-alsa-plugin";
    description = "Simple ALSA volume control for xfce4-panel";
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ ProxyVT ];
    teams = [ lib.teams.xfce ];
  };
})