2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-01-17 03:51:22 +00:00
|
|
|
, pkg-config
|
2018-08-10 18:37:48 +01:00
|
|
|
, autoconf
|
|
|
|
, automake111x
|
|
|
|
, libtool
|
|
|
|
|
2016-07-01 01:05:30 +01:00
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, gst_all_1
|
2016-09-11 22:24:51 +01:00
|
|
|
, gnome2
|
2020-04-06 02:01:34 +01:00
|
|
|
, gnome-icon-theme
|
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";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "alarm-clock-applet";
|
2016-07-01 01:05:30 +01:00
|
|
|
|
2018-08-10 18:37:48 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joh";
|
|
|
|
repo = "alarm-clock";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "18blvgy8hmw3jidz7xrv9yiiilnzcj65m6wxhw58nrnbcqbpydwn";
|
2016-07-01 01:05:30 +01:00
|
|
|
};
|
|
|
|
|
2016-07-02 22:21:03 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:51:22 +00:00
|
|
|
pkg-config
|
2018-08-10 18:37:48 +01:00
|
|
|
intltool
|
|
|
|
automake111x
|
|
|
|
autoconf
|
|
|
|
libtool
|
|
|
|
|
|
|
|
gnome2.gnome-common
|
|
|
|
|
|
|
|
wrapGAppsHook
|
2016-07-02 22:21:03 +01:00
|
|
|
];
|
|
|
|
|
2018-08-10 18:37:48 +01:00
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2016-07-02 22:21:03 +01:00
|
|
|
buildInputs = [
|
2016-07-01 01:05:30 +01:00
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
gst_all_1.gstreamer
|
2016-09-11 22:24:51 +01:00
|
|
|
gnome2.GConf
|
2020-04-06 02:01:34 +01:00
|
|
|
gnome-icon-theme
|
2016-07-01 01:05:30 +01:00
|
|
|
libnotify
|
|
|
|
libxml2
|
|
|
|
libunique
|
2016-10-01 22:23:05 +01:00
|
|
|
] ++ gst_plugins;
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://alarm-clock.pseudoberries.com/";
|
2016-07-01 01:05:30 +01:00
|
|
|
description = "A fully-featured alarm clock for your GNOME panel or equivalent";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rasendubi ];
|
|
|
|
};
|
|
|
|
}
|