2014-12-31 03:05:00 +01:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, glib, libdaemon, buildRubyGem
|
2015-01-21 02:21:03 +01:00
|
|
|
, mpd_clientlib, curl, sqlite, ruby, rubyPackages, libnotify, pandoc }:
|
2014-05-23 00:39:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "20130809";
|
|
|
|
name = "mpdcron-${version}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/alip/mpdcron.git;
|
|
|
|
rev = "1dd16181c32f33e7754bbe21841c8e70b28f8ecd";
|
|
|
|
sha256 = "1h3n433jn9yg74i218pkxzrngsjpnf0z02lakfldl6j1s9di2pn3";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A cron like daemon for mpd";
|
2014-05-23 00:39:28 +02:00
|
|
|
homepage = http://alip.github.io/mpdcron/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.lovek323 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
2014-10-16 11:03:01 +02:00
|
|
|
[ autoconf automake libtool pkgconfig glib libdaemon haskellPackages.pandoc
|
2014-12-31 03:05:00 +01:00
|
|
|
mpd_clientlib curl sqlite ruby /*nokogiri*/ libnotify ];
|
2014-05-23 00:39:28 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ];
|
|
|
|
}
|