2016-07-02 22:21:03 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig
|
2016-07-01 01:05:30 +01:00
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, gst_all_1
|
2016-09-11 22:24:51 +01:00
|
|
|
, gnome2
|
2016-07-01 01:05:30 +01:00
|
|
|
, libnotify
|
|
|
|
, libxml2
|
|
|
|
, libunique
|
|
|
|
, intltool
|
2016-07-02 22:21:03 +01:00
|
|
|
, gst_plugins ? with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-ugly ]
|
2016-07-09 17:36:04 +01:00
|
|
|
, wrapGAppsHook
|
2016-07-01 01:05:30 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.3.4";
|
|
|
|
name = "alarm-clock-applet-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://launchpad.net/alarm-clock/trunk/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "1mrrw5cgv0izdmhdg83vprvbj6062yzk77b2nr1nx6hhmk00946r";
|
|
|
|
};
|
|
|
|
|
2016-07-02 22:21:03 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
makeWrapper
|
2016-07-01 01:05:30 +01:00
|
|
|
pkgconfig
|
2016-07-02 22:21:03 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2016-07-01 01:05:30 +01:00
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
gst_all_1.gstreamer
|
2016-07-02 22:21:03 +01:00
|
|
|
gst_plugins
|
2016-09-11 22:24:51 +01:00
|
|
|
gnome2.GConf
|
|
|
|
gnome2.gnome_icon_theme
|
2016-07-01 01:05:30 +01:00
|
|
|
libnotify
|
|
|
|
libxml2
|
|
|
|
libunique
|
|
|
|
intltool
|
2016-07-09 17:36:04 +01:00
|
|
|
wrapGAppsHook
|
2016-07-01 01:05:30 +01:00
|
|
|
];
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
propagatedUserEnvPkgs = [ gnome2.GConf.out ];
|
2016-07-02 22:21:03 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-07-01 01:05:30 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://alarm-clock.pseudoberries.com/;
|
|
|
|
description = "A fully-featured alarm clock for your GNOME panel or equivalent";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rasendubi ];
|
|
|
|
};
|
|
|
|
}
|