summary refs log tree commit diff
path: root/pkgs/tools/misc/alarm-clock-applet/default.nix
blob: 3102dd635ca2e19b601a899051bef0a867454b9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{ stdenv, fetchFromGitHub
, pkgconfig
, autoconf
, automake111x
, libtool

, glib
, gtk2
, gst_all_1
, gnome2
, gnome-icon-theme
, libnotify
, libxml2
, libunique
, intltool
, gst_plugins ? with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-ugly ]
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
  version = "0.3.4";
  pname = "alarm-clock-applet";

  src = fetchFromGitHub {
    owner = "joh";
    repo = "alarm-clock";
    rev = version;
    sha256 = "18blvgy8hmw3jidz7xrv9yiiilnzcj65m6wxhw58nrnbcqbpydwn";
  };

  nativeBuildInputs = [
    pkgconfig
    intltool
    automake111x
    autoconf
    libtool

    gnome2.gnome-common

    wrapGAppsHook
  ];

  preConfigure = "./autogen.sh";

  buildInputs = [
    glib
    gtk2
    gst_all_1.gstreamer
    gnome2.GConf
    gnome-icon-theme
    libnotify
    libxml2
    libunique
  ] ++ gst_plugins;

  propagatedUserEnvPkgs = [ gnome2.GConf.out ];

  enableParallelBuilding = true;

  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 ];
  };
}