mpdcron: mpd_clientlib -> libmpdclient

This commit is contained in:
AndersonTorres 2021-02-12 08:35:29 -03:00
parent f8104b8fa6
commit f14da185ef

View File

@ -1,5 +1,19 @@
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, libdaemon { lib
, mpd_clientlib, curl, sqlite, bundlerEnv, libnotify, pandoc }: , stdenv
, fetchFromGitHub
, autoconf
, automake
, libtool
, pkg-config
, glib
, libdaemon
, libmpdclient
, curl
, sqlite
, bundlerEnv
, libnotify
, pandoc
}:
let let
gemEnv = bundlerEnv { gemEnv = bundlerEnv {
@ -7,8 +21,8 @@ let
gemdir = ./.; gemdir = ./.;
}; };
in stdenv.mkDerivation { in stdenv.mkDerivation {
version = "20161228";
pname = "mpdcron"; pname = "mpdcron";
version = "20161228";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alip"; owner = "alip";
@ -17,21 +31,33 @@ in stdenv.mkDerivation {
sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw"; sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw";
}; };
meta = with lib; { buildInputs = [
description = "A cron like daemon for mpd"; autoconf
homepage = "http://alip.github.io/mpdcron/"; automake
license = licenses.gpl2; libtool
platforms = platforms.unix; pkg-config
maintainers = with maintainers; [ lovek323 manveru ]; glib
}; libdaemon
pandoc
buildInputs = libmpdclient
[ autoconf automake libtool pkg-config glib libdaemon pandoc curl
mpd_clientlib curl sqlite gemEnv.wrappedRuby libnotify ]; sqlite
gemEnv.wrappedRuby
libnotify
];
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh
''; '';
configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ]; 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