nixpkgs/pkgs/tools/audio/mpdcron/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2014-12-31 02:05:00 +00:00
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, glib, libdaemon, buildRubyGem
2015-01-22 03:38:29 +00:00
, mpd_clientlib, curl, sqlite, ruby, 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";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
in stdenv.mkDerivation rec {
2014-05-22 23:39:28 +01:00
version = "20130809";
name = "mpdcron-${version}";
src = fetchgit {
url = https://github.com/alip/mpdcron.git;
rev = "1dd16181c32f33e7754bbe21841c8e70b28f8ecd";
sha256 = "1h3n433jn9yg74i218pkxzrngsjpnf0z02lakfldl6j1s9di2pn3";
};
meta = {
2014-11-11 13:20:43 +00:00
description = "A cron like daemon for mpd";
2014-05-22 23:39:28 +01: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 03:38:29 +00:00
[ autoconf automake libtool pkgconfig glib libdaemon pandoc
mpd_clientlib curl sqlite ruby gemEnv libnotify ];
2014-05-22 23:39:28 +01:00
preConfigure = ''
./autogen.sh
'';
configureFlags = [ "--enable-gmodule" "--with-standard-modules=all" ];
}