2019-05-03 13:16:11 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, glib, libdaemon
|
2019-06-16 20:59:06 +01:00
|
|
|
, mpd_clientlib, curl, sqlite, bundlerEnv, libnotify, pandoc }:
|
2014-05-22 23:39:28 +01:00
|
|
|
|
2015-01-22 03:38:29 +00:00
|
|
|
let
|
|
|
|
gemEnv = bundlerEnv {
|
|
|
|
name = "mpdcron-bundle";
|
2017-01-17 23:19:14 +00:00
|
|
|
gemdir = ./.;
|
2015-01-22 03:38:29 +00:00
|
|
|
};
|
2019-08-13 22:52:01 +01:00
|
|
|
in stdenv.mkDerivation {
|
2019-05-03 13:16:11 +01:00
|
|
|
version = "20161228";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mpdcron";
|
2014-05-22 23:39:28 +01:00
|
|
|
|
2019-05-03 13:16:11 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alip";
|
|
|
|
repo = "mpdcron";
|
|
|
|
rev = "e49e6049b8693d31887c538ddc7b19f5e8ca476b";
|
|
|
|
sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw";
|
2014-05-22 23:39:28 +01:00
|
|
|
};
|
|
|
|
|
2019-05-03 13:16:11 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A cron like daemon for mpd";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://alip.github.io/mpdcron/";
|
2019-05-03 13:16:11 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ lovek323 manveru ];
|
2014-05-22 23:39:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
2015-01-22 03:38:29 +00:00
|
|
|
[ autoconf automake libtool pkgconfig glib libdaemon pandoc
|
2019-05-03 13:16:11 +01:00
|
|
|
mpd_clientlib curl sqlite gemEnv.wrappedRuby libnotify ];
|
2014-05-22 23:39:28 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ];
|
|
|
|
}
|