From fa990884eccc36db960379e23c87f8491948b3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 21 Feb 2012 18:19:00 +0000 Subject: [PATCH] Adding TaskCoach. svn path=/nixpkgs/trunk/; revision=32462 --- pkgs/top-level/python-packages.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7f442e556983..6ed0c5ec8d73 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1917,6 +1917,32 @@ let pythonPackages = python.modules // rec { }; }; + taskcoach = buildPythonPackage rec { + name = "TaskCoach-1.3.7"; + + src = fetchurl { + url = "mirror://sourceforge/taskcoach/${name}.tar.gz"; + sha256 = "069hyxc8ypn51a8imfkfqdalp1l4pv09swj2v3bi4hjscq9af6i8"; + }; + + propagatedBuildInputs = [ wxPython ]; + + # I don't know why I need to add these libraries. Shouldn't they + # be part of wxPython? + postInstall = '' + libspaths=${pkgs.xlibs.libSM}/lib:${pkgs.xlibs.libXScrnSaver}/lib + wrapProgram $out/bin/taskcoach.py \ + --prefix LD_LIBRARY_PATH : $libspaths + ''; + + doCheck = false; + + meta = { + homepage = http://taskcoach.org/; + description = "A very small text templating language"; + license = "GPLv3+"; + }; + }; tempita = buildPythonPackage rec { version = "0.4";