summary refs log tree commit diff
path: root/pkgs/tools/audio/mpdcron
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-02-12 08:35:29 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-02-12 08:35:29 -0300
commitf14da185ef0a8d4ba9adbfec348c8220d0df2624 (patch)
treec0d3c63140318fa891fe8d7afd5beb6176f26094 /pkgs/tools/audio/mpdcron
parentf8104b8fa6d428d989fcae941e8cfbf61e68dbc1 (diff)
downloadnixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar.gz
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar.bz2
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar.lz
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar.xz
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.tar.zst
nixpkgs-f14da185ef0a8d4ba9adbfec348c8220d0df2624.zip
mpdcron: mpd_clientlib -> libmpdclient
Diffstat (limited to 'pkgs/tools/audio/mpdcron')
-rw-r--r--pkgs/tools/audio/mpdcron/default.nix54
1 files changed, 40 insertions, 14 deletions
diff --git a/pkgs/tools/audio/mpdcron/default.nix b/pkgs/tools/audio/mpdcron/default.nix
index 1fa0d155a3d..afb1c9a3dcd 100644
--- a/pkgs/tools/audio/mpdcron/default.nix
+++ b/pkgs/tools/audio/mpdcron/default.nix
@@ -1,5 +1,19 @@
-{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, libdaemon
-, mpd_clientlib, curl, sqlite, bundlerEnv, libnotify, pandoc }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoconf
+, automake
+, libtool
+, pkg-config
+, glib
+, libdaemon
+, libmpdclient
+, curl
+, sqlite
+, bundlerEnv
+, libnotify
+, pandoc
+}:
 
 let
   gemEnv = bundlerEnv {
@@ -7,8 +21,8 @@ let
     gemdir = ./.;
   };
 in stdenv.mkDerivation {
-  version = "20161228";
   pname = "mpdcron";
+  version = "20161228";
 
   src = fetchFromGitHub {
     owner = "alip";
@@ -17,21 +31,33 @@ in stdenv.mkDerivation {
     sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw";
   };
 
-  meta = with lib; {
-    description = "A cron like daemon for mpd";
-    homepage    = "http://alip.github.io/mpdcron/";
-    license     = licenses.gpl2;
-    platforms   = platforms.unix;
-    maintainers = with maintainers; [ lovek323 manveru ];
-  };
-
-  buildInputs =
-    [ autoconf automake libtool pkg-config glib libdaemon pandoc
-      mpd_clientlib curl sqlite gemEnv.wrappedRuby libnotify ];
+  buildInputs = [
+    autoconf
+    automake
+    libtool
+    pkg-config
+    glib
+    libdaemon
+    pandoc
+    libmpdclient
+    curl
+    sqlite
+    gemEnv.wrappedRuby
+    libnotify
+  ];
 
   preConfigure = ''
     ./autogen.sh
   '';
 
   configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ];
+
+  meta = with lib; {
+    description = "A cron like daemon for mpd";
+    homepage    = "http://alip.github.io/mpdcron/";
+    license     = licenses.gpl2Plus;
+    platforms   = platforms.unix;
+    maintainers = with maintainers; [ lovek323 manveru ];
+  };
 }
+# TODO: autoreconfHook this