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 - }: 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 + }: 5 17 6 18 stdenv.mkDerivation rec { 7 - version = "1.6"; 8 19 pname = "ario"; 20 + version = "1.6"; 9 21 10 22 src = fetchurl { 11 23 url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz"; ··· 14 26 15 27 nativeBuildInputs = [ pkg-config gettext intltool wrapGAppsHook ]; 16 28 buildInputs = [ 17 - gtk3 libxml2 curl mpd_clientlib dbus-glib libsoup avahi taglib 29 + avahi 30 + curl 31 + dbus-glib 32 + gtk3 33 + libmpdclient 34 + libsoup 35 + libxml2 36 + taglib 18 37 ]; 19 38 20 - meta = { 39 + meta = with lib; { 21 40 description = "GTK client for MPD (Music player daemon)"; 22 41 homepage = "http://ario-player.sourceforge.net/"; 23 - license = lib.licenses.gpl2Plus; 24 - maintainers = [ lib.maintainers.garrison ]; 25 - platforms = lib.platforms.all; 42 + license = licenses.gpl2Plus; 43 + maintainers = [ maintainers.garrison ]; 44 + platforms = platforms.all; 26 45 }; 27 46 }
+10 -2
pkgs/applications/audio/ashuffle/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, meson, ninja }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , meson 7 + , ninja 8 + , libmpdclient 9 + }: 2 10 3 11 stdenv.mkDerivation rec { 4 12 pname = "ashuffle"; ··· 14 22 15 23 dontUseCmakeConfigure = true; 16 24 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 17 - buildInputs = [ mpd_clientlib ]; 25 + buildInputs = [ libmpdclient ]; 18 26 19 27 meta = with lib; { 20 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 }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , dbus-glib 6 + , audacious 7 + , gtk2 8 + , gsl 9 + , libaudclient 10 + , libmpdclient 11 + }: 3 12 4 - stdenv.mkDerivation { 5 - name = "gjay-0.3.2"; 13 + stdenv.mkDerivation rec { 14 + pname = "gjay"; 15 + version = "0.3.2"; 6 16 7 17 src = fetchurl { 8 - url = "mirror://sourceforge/project/gjay/gjay-0.3.2.tar.gz"; 18 + url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz"; 9 19 sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8"; 10 20 }; 11 21 12 22 nativeBuildInputs = [ pkg-config ]; 13 23 14 - buildInputs = [ mpd_clientlib dbus-glib audacious gtk2 gsl libaudclient ]; 24 + buildInputs = [ 25 + libmpdclient 26 + dbus-glib 27 + audacious 28 + gtk2 29 + gsl 30 + libaudclient 31 + ]; 15 32 16 33 hardeningDisable = [ "format" ]; 17 34 18 35 meta = with lib; { 19 36 description = "Generates playlists such that each song sounds good following the previous song"; 20 37 homepage = "http://gjay.sourceforge.net/"; 21 - license = licenses.gpl2; 38 + license = licenses.gpl2Plus; 22 39 maintainers = with maintainers; [ pSub ]; 23 40 platforms = with platforms; linux; 24 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 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 4 20 }: 5 21 6 22 stdenv.mkDerivation rec { ··· 26 42 27 43 nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ]; 28 44 buildInputs = [ 29 - glib gtk2 curl mpd_clientlib libsoup 30 - libunique libmpd libSM libICE sqlite hicolor-icon-theme 45 + glib 46 + gtk2 47 + curl 48 + libmpdclient 49 + libsoup 50 + libunique 51 + libmpd 52 + libSM 53 + libICE 54 + sqlite 55 + hicolor-icon-theme 31 56 ]; 32 57 33 58 meta = with lib; { ··· 38 63 platforms = platforms.linux; 39 64 }; 40 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 }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , libmpdclient 8 + , sphinx 9 + , libiconv 10 + }: 2 11 3 12 stdenv.mkDerivation rec { 4 13 pname = "mpc"; ··· 11 20 sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx"; 12 21 }; 13 22 14 - buildInputs = [ mpd_clientlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 23 + buildInputs = [ libmpdclient ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 15 24 16 25 nativeBuildInputs = [ meson ninja pkg-config sphinx ]; 17 26
+5 -7
pkgs/applications/audio/mympd/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , cmake 4 5 , pkg-config 5 - , mpd_clientlib 6 + , libmpdclient 6 7 , openssl 7 8 , lua5_3 8 9 , libid3tag ··· 21 22 sha256 = "sha256-QGJti1tKKJlumLgABPmROplF0UVGMWMnyRXLb2cEieQ="; 22 23 }; 23 24 24 - nativeBuildInputs = [ 25 - pkg-config 26 - cmake 27 - ]; 25 + nativeBuildInputs = [ pkg-config cmake ]; 28 26 buildInputs = [ 29 - mpd_clientlib 27 + libmpdclient 30 28 openssl 31 29 lua5_3 32 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 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 5 13 }: 6 14 7 15 with lib; ··· 19 27 sha256 = "sha256-Qu41TL8KSKC9L25D6Z8bEbJUJQ9QI08grTGZ+0qGdUQ="; 20 28 }; 21 29 22 - buildInputs = [ glib ncurses mpd_clientlib boost ] 30 + buildInputs = [ glib ncurses libmpdclient boost ] 23 31 ++ optional pcreSupport pcre; 24 32 nativeBuildInputs = [ meson ninja pkg-config gettext ]; 25 33
+12 -3
pkgs/applications/audio/ncmpcpp/default.nix
··· 1 - { lib, stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkg-config, readline 2 - , libiconv, icu, curl 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , boost 5 + , libmpdclient 6 + , ncurses 7 + , pkg-config 8 + , readline 9 + , libiconv 10 + , icu 11 + , curl 3 12 , outputsSupport ? true # outputs screen 4 13 , visualizerSupport ? false, fftw ? null # visualizer screen 5 14 , clockSupport ? true # clock screen ··· 27 36 28 37 nativeBuildInputs = [ pkg-config ]; 29 38 30 - buildInputs = [ boost mpd_clientlib ncurses readline libiconv icu curl ] 39 + buildInputs = [ boost libmpdclient ncurses readline libiconv icu curl ] 31 40 ++ optional visualizerSupport fftw 32 41 ++ optional taglibSupport taglib; 33 42
+12 -3
pkgs/applications/audio/vimpc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkg-config 2 - , taglib, curl }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , libmpdclient 6 + , ncurses 7 + , pcre 8 + , pkg-config 9 + , taglib 10 + , curl 11 + }: 3 12 4 13 stdenv.mkDerivation rec { 5 14 version = "0.09.2"; ··· 13 22 }; 14 23 15 24 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 - buildInputs = [ mpd_clientlib ncurses pcre taglib curl ]; 25 + buildInputs = [ libmpdclient ncurses pcre taglib curl ]; 17 26 18 27 postInstall = '' 19 28 mkdir -p $out/etc
+13 -6
pkgs/applications/audio/ympd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , libmpdclient 7 + , openssl 8 + }: 2 9 3 10 stdenv.mkDerivation rec { 4 11 pname = "ympd"; ··· 12 19 }; 13 20 14 21 nativeBuildInputs = [ cmake pkg-config ]; 15 - buildInputs = [ mpd_clientlib openssl ]; 22 + buildInputs = [ libmpdclient openssl ]; 16 23 17 - meta = { 24 + meta = with lib; { 18 25 homepage = "https://www.ympd.org"; 19 26 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; 27 + maintainers = [ maintainers.siddharthist ]; 28 + platforms = platforms.unix; 29 + license = licenses.gpl2Plus; 23 30 }; 24 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 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 4 20 , removeReferencesTo 5 21 6 22 # optional packages-- override the variables ending in 'Support' to enable or 7 23 # disable modules 8 24 , alsaSupport ? true, alsaLib ? null 9 25 , githubSupport ? false, curl ? null 10 - , mpdSupport ? false, mpd_clientlib ? null 26 + , mpdSupport ? false, libmpdclient ? null 11 27 , pulseSupport ? false, libpulseaudio ? null 12 28 , iwSupport ? false, wirelesstools ? null 13 29 , nlSupport ? true, libnl ? null ··· 16 32 17 33 assert alsaSupport -> alsaLib != null; 18 34 assert githubSupport -> curl != null; 19 - assert mpdSupport -> mpd_clientlib != null; 35 + assert mpdSupport -> libmpdclient != null; 20 36 assert pulseSupport -> libpulseaudio != null; 21 37 22 38 assert iwSupport -> ! nlSupport && wirelesstools != null; ··· 37 53 fetchSubmodules = true; 38 54 }; 39 55 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 56 buildInputs = [ 54 - cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto xcbutil 55 - xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm 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 56 70 57 71 (if alsaSupport then alsaLib else null) 58 72 (if githubSupport then curl else null) 59 - (if mpdSupport then mpd_clientlib else null) 73 + (if mpdSupport then libmpdclient else null) 60 74 (if pulseSupport then libpulseaudio else null) 61 75 62 76 (if iwSupport then wirelesstools else null) ··· 69 83 (if i3Support || i3GapsSupport then makeWrapper else null) 70 84 ]; 71 85 72 - postInstall = if (i3Support || i3GapsSupport) then '' 73 - wrapProgram $out/bin/polybar \ 74 - --prefix PATH : "${if i3Support then i3 else i3-gaps}/bin" 75 - '' else ""; 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 ''''; 76 95 77 96 nativeBuildInputs = [ 78 - cmake pkg-config removeReferencesTo 97 + cmake 98 + pkg-config 99 + removeReferencesTo 79 100 ]; 80 101 81 102 postFixup = '' 82 103 remove-references-to -t ${stdenv.cc} $out/bin/polybar 83 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 + }; 84 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 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 3 17 , howard-hinnant-date, cmake 4 18 , traySupport ? true, libdbusmenu-gtk3 5 19 , pulseSupport ? true, libpulseaudio ··· 7 21 , nlSupport ? true, libnl 8 22 , udevSupport ? true, udev 9 23 , swaySupport ? true, sway 10 - , mpdSupport ? true, mpd_clientlib 24 + , mpdSupport ? true, libmpdclient 11 25 , withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl 12 26 }: 13 - stdenv.mkDerivation rec { 14 - pname = "waybar"; 15 - version = "0.9.5"; 27 + 28 + stdenv.mkDerivation rec { 29 + pname = "waybar"; 30 + version = "0.9.5"; 16 31 17 - src = fetchFromGitHub { 18 - owner = "Alexays"; 19 - repo = "Waybar"; 20 - rev = version; 21 - sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q"; 22 - }; 32 + src = fetchFromGitHub { 33 + owner = "Alexays"; 34 + repo = "Waybar"; 35 + rev = version; 36 + sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q"; 37 + }; 23 38 24 - nativeBuildInputs = [ 25 - meson ninja pkg-config scdoc wrapGAppsHook cmake 26 - ] ++ lib.optional withMediaPlayer gobject-introspection; 39 + nativeBuildInputs = [ 40 + meson ninja pkg-config scdoc wrapGAppsHook cmake 41 + ] ++ lib.optional withMediaPlayer gobject-introspection; 27 42 28 - propagatedBuildInputs = lib.optionals withMediaPlayer [ 29 - glib 30 - playerctl 31 - python38Packages.pygobject3 32 - ]; 33 - strictDeps = false; 43 + propagatedBuildInputs = lib.optionals withMediaPlayer [ 44 + glib 45 + playerctl 46 + python38Packages.pygobject3 47 + ]; 48 + strictDeps = false; 34 49 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; 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; 44 59 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 - ]; 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 + ]; 59 74 60 - preFixup = lib.optional withMediaPlayer '' 75 + preFixup = lib.optional withMediaPlayer '' 61 76 cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py 62 77 63 78 wrapProgram $out/bin/waybar-mediaplayer.py \ 64 79 --prefix PYTHONPATH : "$PYTHONPATH:$out/${python3.sitePackages}" 65 80 ''; 66 81 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 - } 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 15 # Services 16 16 , yajl 17 17 # Client support 18 - , mpd_clientlib 18 + , libmpdclient 19 19 # Tag support 20 20 , libid3tag 21 21 , nixosTests ··· 70 70 soundcloud = [ curl yajl ]; 71 71 tidal = [ curl yajl ]; 72 72 # Client support 73 - libmpdclient = [ mpd_clientlib ]; 73 + libmpdclient = [ libmpdclient ]; 74 74 # Tag support 75 75 id3tag = [ libid3tag ]; 76 76 # Misc
+8 -2
pkgs/tools/audio/mpdas/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, mpd_clientlib, curl }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , libmpdclient 6 + , curl 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 10 pname = "mpdas"; ··· 13 19 14 20 nativeBuildInputs = [ pkg-config ]; 15 21 16 - buildInputs = [ mpd_clientlib curl ]; 22 + buildInputs = [ libmpdclient curl ]; 17 23 18 24 makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ]; 19 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 }: 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 + }: 3 17 4 18 let 5 19 gemEnv = bundlerEnv { ··· 7 21 gemdir = ./.; 8 22 }; 9 23 in stdenv.mkDerivation { 10 - version = "20161228"; 11 24 pname = "mpdcron"; 25 + version = "20161228"; 12 26 13 27 src = fetchFromGitHub { 14 28 owner = "alip"; ··· 17 31 sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw"; 18 32 }; 19 33 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 ]; 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 + ]; 31 48 32 49 preConfigure = '' 33 50 ./autogen.sh 34 51 ''; 35 52 36 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 + }; 37 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 }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , meson 6 + , ninja 7 + , boost 8 + , curl 9 + , libgcrypt 10 + , libmpdclient 11 + , systemd 12 + }: 2 13 3 14 stdenv.mkDerivation rec { 4 15 pname = "mpdscribble"; 5 16 version = "0.23"; 6 17 7 18 src = fetchurl { 8 - url = 9 - "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"; 19 + url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"; 10 20 sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53"; 11 21 }; 12 22 13 - nativeBuildInputs = [ meson ninja pkg-config ]; 14 - buildInputs = [ mpd_clientlib curl boost libgcrypt systemd ]; 23 + nativeBuildInputs = [ pkg-config meson ninja ]; 24 + buildInputs = [ 25 + libmpdclient 26 + curl 27 + boost 28 + libgcrypt 29 + systemd 30 + ]; 15 31 16 32 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)"; 33 + description = "A MPD client which submits info about tracks being played to a scrobbler"; 18 34 homepage = "https://www.musicpd.org/clients/mpdscribble/"; 19 - license = licenses.gpl2; 35 + license = licenses.gpl2Plus; 20 36 maintainers = [ maintainers.sohalt ]; 21 37 platforms = platforms.linux; 22 38 };
+1
pkgs/top-level/aliases.nix
··· 389 389 mono-zeroconf = throw "mono-zeroconf was deprecated on 2019-09-20: abandoned by upstream."; 390 390 mozart = mozart2-binary; # added 2019-09-23 391 391 mozart-binary = mozart2-binary; # added 2019-09-23 392 + mpd_clientlib = libmpdclient; # added 2021-02-11 392 393 mpich2 = mpich; # added 2018-08-06 393 394 msf = metasploit; # added 2018-04-25 394 395 libmsgpack = msgpack; # added 2018-08-17
-1
pkgs/top-level/all-packages.nix
··· 17929 17929 inherit (callPackages ../servers/mpd { }) 17930 17930 mpd mpd-small mpdWithFeatures; 17931 17931 17932 - mpd_clientlib = libmpdclient; 17933 17932 libmpdclient = callPackage ../servers/mpd/libmpdclient.nix { }; 17934 17933 17935 17934 mpdscribble = callPackage ../tools/misc/mpdscribble { };