From e5652b843604929748c35b6f876e4f8046eaa615 Mon Sep 17 00:00:00 2001 From: Andrew Miloradovsky Date: Thu, 20 Apr 2017 05:48:39 +0000 Subject: [PATCH] planner: 0.14.6 -> 20170429 Many improvements were performed during the last 5+ years, since the release: mostly minor fixes but *a lot* of them! Plus, corrected and expanded the meta a little bit. --- pkgs/applications/office/planner/default.nix | 48 ++++++++++++++------ 1 file changed, 35 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/office/planner/default.nix b/pkgs/applications/office/planner/default.nix index e7fd9450029..869a88fe2ab 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 ]; }; }