Merge pull request #112774 from AndersonTorres/updates

treewide: mpd_clientlib -> libmpdclient

authored by

Jörg Thalheim and committed by
GitHub
d5f20799 e2b08e2f

+362 -155
+29 -10
pkgs/applications/audio/ario/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, gettext, gtk3, intltool, 2 - wrapGAppsHook, libxml2, curl, mpd_clientlib, dbus-glib, 3 - libsoup, avahi, taglib 4 - }: 5 6 stdenv.mkDerivation rec { 7 - version = "1.6"; 8 pname = "ario"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz"; ··· 14 15 nativeBuildInputs = [ pkg-config gettext intltool wrapGAppsHook ]; 16 buildInputs = [ 17 - gtk3 libxml2 curl mpd_clientlib dbus-glib libsoup avahi taglib 18 ]; 19 20 - meta = { 21 description = "GTK client for MPD (Music player daemon)"; 22 homepage = "http://ario-player.sourceforge.net/"; 23 - license = lib.licenses.gpl2Plus; 24 - maintainers = [ lib.maintainers.garrison ]; 25 - platforms = lib.platforms.all; 26 }; 27 }
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , intltool 6 + , avahi 7 + , curl 8 + , dbus-glib 9 + , gettext 10 + , gtk3 11 + , libmpdclient 12 + , libsoup 13 + , libxml2 14 + , taglib 15 + , wrapGAppsHook 16 + }: 17 18 stdenv.mkDerivation rec { 19 pname = "ario"; 20 + version = "1.6"; 21 22 src = fetchurl { 23 url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz"; ··· 26 27 nativeBuildInputs = [ pkg-config gettext intltool wrapGAppsHook ]; 28 buildInputs = [ 29 + avahi 30 + curl 31 + dbus-glib 32 + gtk3 33 + libmpdclient 34 + libsoup 35 + libxml2 36 + taglib 37 ]; 38 39 + meta = with lib; { 40 description = "GTK client for MPD (Music player daemon)"; 41 homepage = "http://ario-player.sourceforge.net/"; 42 + license = licenses.gpl2Plus; 43 + maintainers = [ maintainers.garrison ]; 44 + platforms = platforms.all; 45 }; 46 }
+10 -2
pkgs/applications/audio/ashuffle/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, meson, ninja }: 2 3 stdenv.mkDerivation rec { 4 pname = "ashuffle"; ··· 14 15 dontUseCmakeConfigure = true; 16 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 17 - buildInputs = [ mpd_clientlib ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/joshkunz/ashuffle";
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , meson 7 + , ninja 8 + , libmpdclient 9 + }: 10 11 stdenv.mkDerivation rec { 12 pname = "ashuffle"; ··· 22 23 dontUseCmakeConfigure = true; 24 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 25 + buildInputs = [ libmpdclient ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/joshkunz/ashuffle";
+24 -7
pkgs/applications/audio/gjay/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, mpd_clientlib, dbus-glib, audacious, gtk2, gsl 2 - , libaudclient }: 3 4 - stdenv.mkDerivation { 5 - name = "gjay-0.3.2"; 6 7 src = fetchurl { 8 - url = "mirror://sourceforge/project/gjay/gjay-0.3.2.tar.gz"; 9 sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 14 - buildInputs = [ mpd_clientlib dbus-glib audacious gtk2 gsl libaudclient ]; 15 16 hardeningDisable = [ "format" ]; 17 18 meta = with lib; { 19 description = "Generates playlists such that each song sounds good following the previous song"; 20 homepage = "http://gjay.sourceforge.net/"; 21 - license = licenses.gpl2; 22 maintainers = with maintainers; [ pSub ]; 23 platforms = with platforms; linux; 24 };
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , dbus-glib 6 + , audacious 7 + , gtk2 8 + , gsl 9 + , libaudclient 10 + , libmpdclient 11 + }: 12 13 + stdenv.mkDerivation rec { 14 + pname = "gjay"; 15 + version = "0.3.2"; 16 17 src = fetchurl { 18 + url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz"; 19 sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8"; 20 }; 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 + buildInputs = [ 25 + libmpdclient 26 + dbus-glib 27 + audacious 28 + gtk2 29 + gsl 30 + libaudclient 31 + ]; 32 33 hardeningDisable = [ "format" ]; 34 35 meta = with lib; { 36 description = "Generates playlists such that each song sounds good following the previous song"; 37 homepage = "http://gjay.sourceforge.net/"; 38 + license = licenses.gpl2Plus; 39 maintainers = with maintainers; [ pSub ]; 40 platforms = with platforms; linux; 41 };
+31 -5
pkgs/applications/audio/gmpc/default.nix
··· 1 - { lib, stdenv, fetchurl, libtool, intltool, pkg-config, glib 2 - , gtk2, curl, mpd_clientlib, libsoup, gob2, vala, libunique 3 - , libSM, libICE, sqlite, hicolor-icon-theme, wrapGAppsHook 4 }: 5 6 stdenv.mkDerivation rec { ··· 26 27 nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ]; 28 buildInputs = [ 29 - glib gtk2 curl mpd_clientlib libsoup 30 - libunique libmpd libSM libICE sqlite hicolor-icon-theme 31 ]; 32 33 meta = with lib; { ··· 38 platforms = platforms.linux; 39 }; 40 }
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , libtool 5 + , intltool 6 + , pkg-config 7 + , glib 8 + , gtk2 9 + , curl 10 + , libmpdclient 11 + , libsoup 12 + , gob2 13 + , vala 14 + , libunique 15 + , libSM 16 + , libICE 17 + , sqlite 18 + , hicolor-icon-theme 19 + , wrapGAppsHook 20 }: 21 22 stdenv.mkDerivation rec { ··· 42 43 nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ]; 44 buildInputs = [ 45 + glib 46 + gtk2 47 + curl 48 + libmpdclient 49 + libsoup 50 + libunique 51 + libmpd 52 + libSM 53 + libICE 54 + sqlite 55 + hicolor-icon-theme 56 ]; 57 58 meta = with lib; { ··· 63 platforms = platforms.linux; 64 }; 65 } 66 + # TODO: what is this libmpd derivation embedded above?
+11 -2
pkgs/applications/audio/mpc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, mpd_clientlib, sphinx, libiconv }: 2 3 stdenv.mkDerivation rec { 4 pname = "mpc"; ··· 11 sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx"; 12 }; 13 14 - buildInputs = [ mpd_clientlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 15 16 nativeBuildInputs = [ meson ninja pkg-config sphinx ]; 17
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , libmpdclient 8 + , sphinx 9 + , libiconv 10 + }: 11 12 stdenv.mkDerivation rec { 13 pname = "mpc"; ··· 20 sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx"; 21 }; 22 23 + buildInputs = [ libmpdclient ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 24 25 nativeBuildInputs = [ meson ninja pkg-config sphinx ]; 26
+5 -7
pkgs/applications/audio/mympd/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , cmake 4 , pkg-config 5 - , mpd_clientlib 6 , openssl 7 , lua5_3 8 , libid3tag ··· 21 sha256 = "sha256-QGJti1tKKJlumLgABPmROplF0UVGMWMnyRXLb2cEieQ="; 22 }; 23 24 - nativeBuildInputs = [ 25 - pkg-config 26 - cmake 27 - ]; 28 buildInputs = [ 29 - mpd_clientlib 30 openssl 31 lua5_3 32 libid3tag
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , cmake 5 , pkg-config 6 + , libmpdclient 7 , openssl 8 , lua5_3 9 , libid3tag ··· 22 sha256 = "sha256-QGJti1tKKJlumLgABPmROplF0UVGMWMnyRXLb2cEieQ="; 23 }; 24 25 + nativeBuildInputs = [ pkg-config cmake ]; 26 buildInputs = [ 27 + libmpdclient 28 openssl 29 lua5_3 30 libid3tag
+13 -5
pkgs/applications/audio/ncmpc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, glib, ncurses 2 - , mpd_clientlib, gettext, boost 3 - , pcreSupport ? false 4 - , pcre ? null 5 }: 6 7 with lib; ··· 19 sha256 = "sha256-Qu41TL8KSKC9L25D6Z8bEbJUJQ9QI08grTGZ+0qGdUQ="; 20 }; 21 22 - buildInputs = [ glib ncurses mpd_clientlib boost ] 23 ++ optional pcreSupport pcre; 24 nativeBuildInputs = [ meson ninja pkg-config gettext ]; 25
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , glib 8 + , ncurses 9 + , libmpdclient 10 + , gettext 11 + , boost 12 + , pcreSupport ? false, pcre ? null 13 }: 14 15 with lib; ··· 27 sha256 = "sha256-Qu41TL8KSKC9L25D6Z8bEbJUJQ9QI08grTGZ+0qGdUQ="; 28 }; 29 30 + buildInputs = [ glib ncurses libmpdclient boost ] 31 ++ optional pcreSupport pcre; 32 nativeBuildInputs = [ meson ninja pkg-config gettext ]; 33
+12 -3
pkgs/applications/audio/ncmpcpp/default.nix
··· 1 - { lib, stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkg-config, readline 2 - , libiconv, icu, curl 3 , outputsSupport ? true # outputs screen 4 , visualizerSupport ? false, fftw ? null # visualizer screen 5 , clockSupport ? true # clock screen ··· 27 28 nativeBuildInputs = [ pkg-config ]; 29 30 - buildInputs = [ boost mpd_clientlib ncurses readline libiconv icu curl ] 31 ++ optional visualizerSupport fftw 32 ++ optional taglibSupport taglib; 33
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , boost 5 + , libmpdclient 6 + , ncurses 7 + , pkg-config 8 + , readline 9 + , libiconv 10 + , icu 11 + , curl 12 , outputsSupport ? true # outputs screen 13 , visualizerSupport ? false, fftw ? null # visualizer screen 14 , clockSupport ? true # clock screen ··· 36 37 nativeBuildInputs = [ pkg-config ]; 38 39 + buildInputs = [ boost libmpdclient ncurses readline libiconv icu curl ] 40 ++ optional visualizerSupport fftw 41 ++ optional taglibSupport taglib; 42
+12 -3
pkgs/applications/audio/vimpc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkg-config 2 - , taglib, curl }: 3 4 stdenv.mkDerivation rec { 5 version = "0.09.2"; ··· 13 }; 14 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 - buildInputs = [ mpd_clientlib ncurses pcre taglib curl ]; 17 18 postInstall = '' 19 mkdir -p $out/etc
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , libmpdclient 6 + , ncurses 7 + , pcre 8 + , pkg-config 9 + , taglib 10 + , curl 11 + }: 12 13 stdenv.mkDerivation rec { 14 version = "0.09.2"; ··· 22 }; 23 24 nativeBuildInputs = [ autoreconfHook pkg-config ]; 25 + buildInputs = [ libmpdclient ncurses pcre taglib curl ]; 26 27 postInstall = '' 28 mkdir -p $out/etc
+13 -6
pkgs/applications/audio/ympd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }: 2 3 stdenv.mkDerivation rec { 4 pname = "ympd"; ··· 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; 15 - buildInputs = [ mpd_clientlib openssl ]; 16 17 - meta = { 18 homepage = "https://www.ympd.org"; 19 description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS"; 20 - maintainers = [ lib.maintainers.siddharthist ]; 21 - platforms = lib.platforms.unix; 22 - license = lib.licenses.gpl2; 23 }; 24 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , libmpdclient 7 + , openssl 8 + }: 9 10 stdenv.mkDerivation rec { 11 pname = "ympd"; ··· 19 }; 20 21 nativeBuildInputs = [ cmake pkg-config ]; 22 + buildInputs = [ libmpdclient openssl ]; 23 24 + meta = with lib; { 25 homepage = "https://www.ympd.org"; 26 description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS"; 27 + maintainers = [ maintainers.siddharthist ]; 28 + platforms = platforms.unix; 29 + license = licenses.gpl2Plus; 30 }; 31 }
+60 -26
pkgs/applications/misc/polybar/default.nix
··· 1 - { cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkg-config 2 - , python3, lib, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage 3 - , xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper 4 , removeReferencesTo 5 6 # optional packages-- override the variables ending in 'Support' to enable or 7 # disable modules 8 , alsaSupport ? true, alsaLib ? null 9 , githubSupport ? false, curl ? null 10 - , mpdSupport ? false, mpd_clientlib ? null 11 , pulseSupport ? false, libpulseaudio ? null 12 , iwSupport ? false, wirelesstools ? null 13 , nlSupport ? true, libnl ? null ··· 16 17 assert alsaSupport -> alsaLib != null; 18 assert githubSupport -> curl != null; 19 - assert mpdSupport -> mpd_clientlib != null; 20 assert pulseSupport -> libpulseaudio != null; 21 22 assert iwSupport -> ! nlSupport && wirelesstools != null; ··· 37 fetchSubmodules = true; 38 }; 39 40 - meta = with lib; { 41 - homepage = "https://polybar.github.io/"; 42 - description = "A fast and easy-to-use tool for creating status bars"; 43 - longDescription = '' 44 - Polybar aims to help users build beautiful and highly customizable 45 - status bars for their desktop environment, without the need of 46 - having a black belt in shell scripting. 47 - ''; 48 - license = licenses.mit; 49 - maintainers = with maintainers; [ afldcr Br1ght0ne ]; 50 - platforms = platforms.linux; 51 - }; 52 - 53 buildInputs = [ 54 - cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto xcbutil 55 - xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm 56 57 (if alsaSupport then alsaLib else null) 58 (if githubSupport then curl else null) 59 - (if mpdSupport then mpd_clientlib else null) 60 (if pulseSupport then libpulseaudio else null) 61 62 (if iwSupport then wirelesstools else null) ··· 69 (if i3Support || i3GapsSupport then makeWrapper else null) 70 ]; 71 72 - postInstall = if (i3Support || i3GapsSupport) then '' 73 - wrapProgram $out/bin/polybar \ 74 - --prefix PATH : "${if i3Support then i3 else i3-gaps}/bin" 75 - '' else ""; 76 77 nativeBuildInputs = [ 78 - cmake pkg-config removeReferencesTo 79 ]; 80 81 postFixup = '' 82 remove-references-to -t ${stdenv.cc} $out/bin/polybar 83 ''; 84 }
··· 1 + { cairo 2 + , cmake 3 + , fetchFromGitHub 4 + , libXdmcp 5 + , libpthreadstubs 6 + , libxcb 7 + , pcre 8 + , pkg-config 9 + , python3 10 + , lib 11 + , stdenv 12 + , xcbproto 13 + , xcbutil 14 + , xcbutilcursor 15 + , xcbutilimage 16 + , xcbutilrenderutil 17 + , xcbutilwm 18 + , xcbutilxrm 19 + , makeWrapper 20 , removeReferencesTo 21 22 # optional packages-- override the variables ending in 'Support' to enable or 23 # disable modules 24 , alsaSupport ? true, alsaLib ? null 25 , githubSupport ? false, curl ? null 26 + , mpdSupport ? false, libmpdclient ? null 27 , pulseSupport ? false, libpulseaudio ? null 28 , iwSupport ? false, wirelesstools ? null 29 , nlSupport ? true, libnl ? null ··· 32 33 assert alsaSupport -> alsaLib != null; 34 assert githubSupport -> curl != null; 35 + assert mpdSupport -> libmpdclient != null; 36 assert pulseSupport -> libpulseaudio != null; 37 38 assert iwSupport -> ! nlSupport && wirelesstools != null; ··· 53 fetchSubmodules = true; 54 }; 55 56 buildInputs = [ 57 + cairo 58 + libXdmcp 59 + libpthreadstubs 60 + libxcb 61 + pcre 62 + python3 63 + xcbproto 64 + xcbutil 65 + xcbutilcursor 66 + xcbutilimage 67 + xcbutilrenderutil 68 + xcbutilwm 69 + xcbutilxrm 70 71 (if alsaSupport then alsaLib else null) 72 (if githubSupport then curl else null) 73 + (if mpdSupport then libmpdclient else null) 74 (if pulseSupport then libpulseaudio else null) 75 76 (if iwSupport then wirelesstools else null) ··· 83 (if i3Support || i3GapsSupport then makeWrapper else null) 84 ]; 85 86 + postInstall = if i3Support 87 + then ''wrapProgram $out/bin/polybar \ 88 + --prefix PATH : "${i3}/bin" 89 + '' 90 + else if i3GapsSupport 91 + then ''wrapProgram $out/bin/polybar \ 92 + --prefix PATH : "${i3-gaps}/bin" 93 + '' 94 + else ''''; 95 96 nativeBuildInputs = [ 97 + cmake 98 + pkg-config 99 + removeReferencesTo 100 ]; 101 102 postFixup = '' 103 remove-references-to -t ${stdenv.cc} $out/bin/polybar 104 ''; 105 + 106 + meta = with lib; { 107 + homepage = "https://polybar.github.io/"; 108 + description = "A fast and easy-to-use tool for creating status bars"; 109 + longDescription = '' 110 + Polybar aims to help users build beautiful and highly customizable 111 + status bars for their desktop environment, without the need of 112 + having a black belt in shell scripting. 113 + ''; 114 + license = licenses.mit; 115 + maintainers = with maintainers; [ afldcr Br1ght0ne ]; 116 + platforms = platforms.linux; 117 + }; 118 }
+68 -53
pkgs/applications/misc/waybar/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, wrapGAppsHook 2 - , wayland, wlroots, gtkmm3, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell 3 , howard-hinnant-date, cmake 4 , traySupport ? true, libdbusmenu-gtk3 5 , pulseSupport ? true, libpulseaudio ··· 7 , nlSupport ? true, libnl 8 , udevSupport ? true, udev 9 , swaySupport ? true, sway 10 - , mpdSupport ? true, mpd_clientlib 11 , withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl 12 }: 13 - stdenv.mkDerivation rec { 14 - pname = "waybar"; 15 - version = "0.9.5"; 16 17 - src = fetchFromGitHub { 18 - owner = "Alexays"; 19 - repo = "Waybar"; 20 - rev = version; 21 - sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q"; 22 - }; 23 24 - nativeBuildInputs = [ 25 - meson ninja pkg-config scdoc wrapGAppsHook cmake 26 - ] ++ lib.optional withMediaPlayer gobject-introspection; 27 28 - propagatedBuildInputs = lib.optionals withMediaPlayer [ 29 - glib 30 - playerctl 31 - python38Packages.pygobject3 32 - ]; 33 - strictDeps = false; 34 35 - buildInputs = with lib; 36 - [ wayland wlroots gtkmm3 libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ] 37 - ++ optional traySupport libdbusmenu-gtk3 38 - ++ optional pulseSupport libpulseaudio 39 - ++ optional sndioSupport sndio 40 - ++ optional nlSupport libnl 41 - ++ optional udevSupport udev 42 - ++ optional swaySupport sway 43 - ++ optional mpdSupport mpd_clientlib; 44 45 - mesonFlags = (lib.mapAttrsToList 46 - (option: enable: "-D${option}=${if enable then "enabled" else "disabled"}") 47 - { 48 - dbusmenu-gtk = traySupport; 49 - pulseaudio = pulseSupport; 50 - sndio = sndioSupport; 51 - libnl = nlSupport; 52 - libudev = udevSupport; 53 - mpd = mpdSupport; 54 - } 55 - ) ++ [ 56 - "-Dout=${placeholder "out"}" 57 - "-Dsystemd=disabled" 58 - ]; 59 60 - preFixup = lib.optional withMediaPlayer '' 61 cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py 62 63 wrapProgram $out/bin/waybar-mediaplayer.py \ 64 --prefix PYTHONPATH : "$PYTHONPATH:$out/${python3.sitePackages}" 65 ''; 66 67 - meta = with lib; { 68 - description = "Highly customizable Wayland bar for Sway and Wlroots based compositors"; 69 - license = licenses.mit; 70 - maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ]; 71 - platforms = platforms.unix; 72 - homepage = "https://github.com/alexays/waybar"; 73 - }; 74 - }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , pkg-config 6 + , ninja 7 + , wrapGAppsHook 8 + , wayland 9 + , wlroots 10 + , gtkmm3 11 + , libsigcxx 12 + , jsoncpp 13 + , fmt 14 + , scdoc 15 + , spdlog 16 + , gtk-layer-shell 17 , howard-hinnant-date, cmake 18 , traySupport ? true, libdbusmenu-gtk3 19 , pulseSupport ? true, libpulseaudio ··· 21 , nlSupport ? true, libnl 22 , udevSupport ? true, udev 23 , swaySupport ? true, sway 24 + , mpdSupport ? true, libmpdclient 25 , withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl 26 }: 27 + 28 + stdenv.mkDerivation rec { 29 + pname = "waybar"; 30 + version = "0.9.5"; 31 32 + src = fetchFromGitHub { 33 + owner = "Alexays"; 34 + repo = "Waybar"; 35 + rev = version; 36 + sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q"; 37 + }; 38 39 + nativeBuildInputs = [ 40 + meson ninja pkg-config scdoc wrapGAppsHook cmake 41 + ] ++ lib.optional withMediaPlayer gobject-introspection; 42 43 + propagatedBuildInputs = lib.optionals withMediaPlayer [ 44 + glib 45 + playerctl 46 + python38Packages.pygobject3 47 + ]; 48 + strictDeps = false; 49 50 + buildInputs = with lib; 51 + [ wayland wlroots gtkmm3 libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ] 52 + ++ optional traySupport libdbusmenu-gtk3 53 + ++ optional pulseSupport libpulseaudio 54 + ++ optional sndioSupport sndio 55 + ++ optional nlSupport libnl 56 + ++ optional udevSupport udev 57 + ++ optional swaySupport sway 58 + ++ optional mpdSupport libmpdclient; 59 60 + mesonFlags = (lib.mapAttrsToList 61 + (option: enable: "-D${option}=${if enable then "enabled" else "disabled"}") 62 + { 63 + dbusmenu-gtk = traySupport; 64 + pulseaudio = pulseSupport; 65 + sndio = sndioSupport; 66 + libnl = nlSupport; 67 + libudev = udevSupport; 68 + mpd = mpdSupport; 69 + } 70 + ) ++ [ 71 + "-Dout=${placeholder "out"}" 72 + "-Dsystemd=disabled" 73 + ]; 74 75 + preFixup = lib.optional withMediaPlayer '' 76 cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py 77 78 wrapProgram $out/bin/waybar-mediaplayer.py \ 79 --prefix PYTHONPATH : "$PYTHONPATH:$out/${python3.sitePackages}" 80 ''; 81 82 + meta = with lib; { 83 + description = "Highly customizable Wayland bar for Sway and Wlroots based compositors"; 84 + license = licenses.mit; 85 + maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ]; 86 + platforms = platforms.unix; 87 + homepage = "https://github.com/alexays/waybar"; 88 + }; 89 + }
+2 -2
pkgs/servers/mpd/default.nix
··· 15 # Services 16 , yajl 17 # Client support 18 - , mpd_clientlib 19 # Tag support 20 , libid3tag 21 , nixosTests ··· 70 soundcloud = [ curl yajl ]; 71 tidal = [ curl yajl ]; 72 # Client support 73 - libmpdclient = [ mpd_clientlib ]; 74 # Tag support 75 id3tag = [ libid3tag ]; 76 # Misc
··· 15 # Services 16 , yajl 17 # Client support 18 + , libmpdclient 19 # Tag support 20 , libid3tag 21 , nixosTests ··· 70 soundcloud = [ curl yajl ]; 71 tidal = [ curl yajl ]; 72 # Client support 73 + libmpdclient = [ libmpdclient ]; 74 # Tag support 75 id3tag = [ libid3tag ]; 76 # Misc
+8 -2
pkgs/tools/audio/mpdas/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, mpd_clientlib, curl }: 2 3 stdenv.mkDerivation rec { 4 pname = "mpdas"; ··· 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 - buildInputs = [ mpd_clientlib curl ]; 17 18 makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ]; 19
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , libmpdclient 6 + , curl 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "mpdas"; ··· 19 20 nativeBuildInputs = [ pkg-config ]; 21 22 + buildInputs = [ libmpdclient curl ]; 23 24 makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ]; 25
+40 -14
pkgs/tools/audio/mpdcron/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, libdaemon 2 - , mpd_clientlib, curl, sqlite, bundlerEnv, libnotify, pandoc }: 3 4 let 5 gemEnv = bundlerEnv { ··· 7 gemdir = ./.; 8 }; 9 in stdenv.mkDerivation { 10 - version = "20161228"; 11 pname = "mpdcron"; 12 13 src = fetchFromGitHub { 14 owner = "alip"; ··· 17 sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw"; 18 }; 19 20 - meta = with lib; { 21 - description = "A cron like daemon for mpd"; 22 - homepage = "http://alip.github.io/mpdcron/"; 23 - license = licenses.gpl2; 24 - platforms = platforms.unix; 25 - maintainers = with maintainers; [ lovek323 manveru ]; 26 - }; 27 - 28 - buildInputs = 29 - [ autoconf automake libtool pkg-config glib libdaemon pandoc 30 - mpd_clientlib curl sqlite gemEnv.wrappedRuby libnotify ]; 31 32 preConfigure = '' 33 ./autogen.sh 34 ''; 35 36 configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ]; 37 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoconf 5 + , automake 6 + , libtool 7 + , pkg-config 8 + , glib 9 + , libdaemon 10 + , libmpdclient 11 + , curl 12 + , sqlite 13 + , bundlerEnv 14 + , libnotify 15 + , pandoc 16 + }: 17 18 let 19 gemEnv = bundlerEnv { ··· 21 gemdir = ./.; 22 }; 23 in stdenv.mkDerivation { 24 pname = "mpdcron"; 25 + version = "20161228"; 26 27 src = fetchFromGitHub { 28 owner = "alip"; ··· 31 sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw"; 32 }; 33 34 + buildInputs = [ 35 + autoconf 36 + automake 37 + libtool 38 + pkg-config 39 + glib 40 + libdaemon 41 + pandoc 42 + libmpdclient 43 + curl 44 + sqlite 45 + gemEnv.wrappedRuby 46 + libnotify 47 + ]; 48 49 preConfigure = '' 50 ./autogen.sh 51 ''; 52 53 configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ]; 54 + 55 + meta = with lib; { 56 + description = "A cron like daemon for mpd"; 57 + homepage = "http://alip.github.io/mpdcron/"; 58 + license = licenses.gpl2Plus; 59 + platforms = platforms.unix; 60 + maintainers = with maintainers; [ lovek323 manveru ]; 61 + }; 62 } 63 + # TODO: autoreconfHook this
+23 -7
pkgs/tools/misc/mpdscribble/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, boost, libgcrypt, systemd, mpd_clientlib, curl }: 2 3 stdenv.mkDerivation rec { 4 pname = "mpdscribble"; 5 version = "0.23"; 6 7 src = fetchurl { 8 - url = 9 - "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"; 10 sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53"; 11 }; 12 13 - nativeBuildInputs = [ meson ninja pkg-config ]; 14 - buildInputs = [ mpd_clientlib curl boost libgcrypt systemd ]; 15 16 meta = with lib; { 17 - description = "A Music Player Daemon (MPD) client which submits information about tracks being played to a scrobbler (e.g. last.fm)"; 18 homepage = "https://www.musicpd.org/clients/mpdscribble/"; 19 - license = licenses.gpl2; 20 maintainers = [ maintainers.sohalt ]; 21 platforms = platforms.linux; 22 };
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , meson 6 + , ninja 7 + , boost 8 + , curl 9 + , libgcrypt 10 + , libmpdclient 11 + , systemd 12 + }: 13 14 stdenv.mkDerivation rec { 15 pname = "mpdscribble"; 16 version = "0.23"; 17 18 src = fetchurl { 19 + url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"; 20 sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53"; 21 }; 22 23 + nativeBuildInputs = [ pkg-config meson ninja ]; 24 + buildInputs = [ 25 + libmpdclient 26 + curl 27 + boost 28 + libgcrypt 29 + systemd 30 + ]; 31 32 meta = with lib; { 33 + description = "A MPD client which submits info about tracks being played to a scrobbler"; 34 homepage = "https://www.musicpd.org/clients/mpdscribble/"; 35 + license = licenses.gpl2Plus; 36 maintainers = [ maintainers.sohalt ]; 37 platforms = platforms.linux; 38 };
+1
pkgs/top-level/aliases.nix
··· 389 mono-zeroconf = throw "mono-zeroconf was deprecated on 2019-09-20: abandoned by upstream."; 390 mozart = mozart2-binary; # added 2019-09-23 391 mozart-binary = mozart2-binary; # added 2019-09-23 392 mpich2 = mpich; # added 2018-08-06 393 msf = metasploit; # added 2018-04-25 394 libmsgpack = msgpack; # added 2018-08-17
··· 389 mono-zeroconf = throw "mono-zeroconf was deprecated on 2019-09-20: abandoned by upstream."; 390 mozart = mozart2-binary; # added 2019-09-23 391 mozart-binary = mozart2-binary; # added 2019-09-23 392 + mpd_clientlib = libmpdclient; # added 2021-02-11 393 mpich2 = mpich; # added 2018-08-06 394 msf = metasploit; # added 2018-04-25 395 libmsgpack = msgpack; # added 2018-08-17
-1
pkgs/top-level/all-packages.nix
··· 17929 inherit (callPackages ../servers/mpd { }) 17930 mpd mpd-small mpdWithFeatures; 17931 17932 - mpd_clientlib = libmpdclient; 17933 libmpdclient = callPackage ../servers/mpd/libmpdclient.nix { }; 17934 17935 mpdscribble = callPackage ../tools/misc/mpdscribble { };
··· 17929 inherit (callPackages ../servers/mpd { }) 17930 mpd mpd-small mpdWithFeatures; 17931 17932 libmpdclient = callPackage ../servers/mpd/libmpdclient.nix { }; 17933 17934 mpdscribble = callPackage ../tools/misc/mpdscribble { };