summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2016-07-01 03:05:30 +0300
committerAlexey Shmalko <rasen.dubi@gmail.com>2016-07-01 03:06:50 +0300
commit9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1 (patch)
treef5039c5569f88dfe82921de209bcc66ca6680f8b /pkgs
parent17e8032adb9b6ad8558594a19f6d13461d275b45 (diff)
downloadnixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar.gz
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar.bz2
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar.lz
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar.xz
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.tar.zst
nixlib-9ba48ecb38d4baf2e5206ea99f74e5e78f2e84a1.zip
alarm-clock-applet: init at 0.3.4
There were a couple of issue before the application run normally.

The first one is GConf error:
https://nixos.org/wiki/Solve_GConf_errors_when_running_GNOME_applications

The second one is absence of gst plugins:
https://github.com/NixOS/nixpkgs/issues/10559
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/alarm-clock-applet/default.nix41
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/tools/misc/alarm-clock-applet/default.nix b/pkgs/tools/misc/alarm-clock-applet/default.nix
new file mode 100644
index 000000000000..64c11689c886
--- /dev/null
+++ b/pkgs/tools/misc/alarm-clock-applet/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchurl, pkgconfig
+, glib
+, gtk2
+, gst_all_1
+, gnome
+, libnotify
+, libxml2
+, libunique
+, intltool
+}:
+
+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";
+  };
+
+  buildInputs = [
+    pkgconfig
+    glib
+    gtk2
+    gst_all_1.gstreamer
+    gnome.GConf
+    gnome.gnome_icon_theme
+    libnotify
+    libxml2
+    libunique
+    intltool
+  ];
+
+  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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 15e8a41426fd..970bb591f3ac 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3199,6 +3199,8 @@ in
 
   remarkjs = callPackage ../development/web/remarkjs { };
 
+  alarm-clock-applet = callPackage ../tools/misc/alarm-clock-applet { };
+
   remind = callPackage ../tools/misc/remind { };
 
   remmina = callPackage ../applications/networking/remote/remmina {};