about summary refs log tree commit diff
path: root/pkgs/applications/office/planner/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/planner/default.nix')
-rw-r--r--pkgs/applications/office/planner/default.nix48
1 files changed, 35 insertions, 13 deletions
diff --git a/pkgs/applications/office/planner/default.nix b/pkgs/applications/office/planner/default.nix
index e7fd94500290..869a88fe2ab4 100644
--- a/pkgs/applications/office/planner/default.nix
+++ b/pkgs/applications/office/planner/default.nix
@@ -1,28 +1,35 @@
-{ stdenv, fetchurl
+{ stdenv
+, fetchgit
 , pkgconfig
 , intltool
+, automake111x
+, autoconf
+, libtool
 , gnome2
 , libxslt
 , python
 }:
 
-let
-  version = "${major}.${minor}.${patch}";
-  major = "0";
-  minor = "14";
-  patch = "6";
+let version = "20170425";
 
 in stdenv.mkDerivation {
   name = "planner-${version}";
 
-  src = fetchurl {
-    url = "http://ftp.gnome.org/pub/GNOME/sources/planner/${major}.${minor}/planner-${version}.tar.xz";
-    sha256 = "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k";
+  src = fetchgit {
+    url = "https://git.gnome.org/browse/planner";
+    rev = "6a79647e5711b2b8d7435cacc3452e643d2f05e6";
+    sha256 = "18k40s0f665qclrzvkgyfqmvjk0nqdc8aj3m8n4ky85di4qbqlwd";
   };
 
   buildInputs = with gnome2; [
     pkgconfig
     intltool
+    automake111x
+    autoconf
+    libtool
+
+    gnome_common
+    gtk_doc
 
     GConf
     gtk
@@ -35,13 +42,28 @@ in stdenv.mkDerivation {
     python
   ];
 
+  preConfigure = ''./autogen.sh'';
+
   enableParallelBuilding = true;
 
   meta = with stdenv.lib; {
-    homepage = https://wiki.gnome.org/Apps/Planner/;
+    homepage = "https://wiki.gnome.org/Apps/Planner";
     description = "Project management application for GNOME";
-    license = licenses.gpl2;
-    platforms = platforms.linux;
-    maintainers = [ maintainers.rasendubi ];
+    longDescription = ''
+      Planner is the GNOME project management tool.
+      Its goal is to be an easy-to-use no-nonsense cross-platform
+      project management application.
+
+      Planner is a GTK+ application written in C and licensed under the
+      GPLv2 or any later version. It can store its data in either xml
+      files or in a postgresql database. Projects can also be printed
+      to PDF or exported to HTML for easy viewing from any web browser.
+
+      Planner was originally created by Richard Hult and Mikael Hallendal
+      at Imendio.
+    '';
+    license = licenses.gpl2Plus;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ rasendubi amiloradovsky ];
   };
 }