2014-12-31 03:05:00 +01:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, glib, libdaemon, buildRubyGem
|
2015-01-22 04:38:29 +01:00
|
|
|
, mpd_clientlib, curl, sqlite, ruby, bundlerEnv, libnotify, pandoc }:
|
2014-05-23 00:39:28 +02:00
|
|
|
|
2015-01-22 04:38:29 +01:00
|
|
|
let
|
|
|
|
gemEnv = bundlerEnv {
|
|
|
|
name = "mpdcron-bundle";
|
|
|
|
gemfile = ./Gemfile;
|
|
|
|
lockfile = ./Gemfile.lock;
|
|
|
|
gemset = ./gemset.nix;
|
|
|
|
};
|
|
|
|
in stdenv.mkDerivation rec {
|
2014-05-23 00:39:28 +02:00
|
|
|
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 =
|
2015-01-22 04:38:29 +01:00
|
|
|
[ autoconf automake libtool pkgconfig glib libdaemon pandoc
|
|
|
|
mpd_clientlib curl sqlite ruby gemEnv libnotify ];
|
2014-05-23 00:39:28 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ];
|
|
|
|
}
|