Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 exo, 6 gtk3, 7 libcanberra, 8 libpulseaudio, 9 libnotify, 10 libxfce4ui, 11 libxfce4util, 12 libxfce4windowing, 13 meson, 14 ninja, 15 pkg-config, 16 xfce4-panel, 17 xfconf, 18 keybinder3, 19 glib, 20 gitUpdater, 21}: 22 23stdenv.mkDerivation (finalAttrs: { 24 pname = "xfce4-pulseaudio-plugin"; 25 version = "0.5.1"; 26 27 src = fetchFromGitLab { 28 domain = "gitlab.xfce.org"; 29 owner = "panel-plugins"; 30 repo = "xfce4-pulseaudio-plugin"; 31 tag = "xfce4-pulseaudio-plugin-${finalAttrs.version}"; 32 hash = "sha256-068+lp1X2W201zWN15dklsfEy4Hdy3aOEqC/ic5fMNs="; 33 }; 34 35 strictDeps = true; 36 37 nativeBuildInputs = [ 38 glib # glib-compile-resources 39 meson 40 ninja 41 pkg-config 42 ]; 43 44 buildInputs = [ 45 exo 46 glib 47 gtk3 48 keybinder3 49 libcanberra 50 libnotify 51 libpulseaudio 52 libxfce4ui 53 libxfce4util 54 libxfce4windowing 55 xfce4-panel 56 xfconf 57 ]; 58 59 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-pulseaudio-plugin-"; }; 60 61 meta = { 62 description = "Adjust the audio volume of the PulseAudio sound system"; 63 homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin"; 64 license = lib.licenses.gpl2Plus; 65 teams = [ lib.teams.xfce ]; 66 platforms = lib.platforms.linux; 67 }; 68})