From b9c159416cae9f7cc57d742d79e62e41da6ff3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 15 Nov 2010 19:44:53 +0000 Subject: [PATCH] Adding keepnote svn path=/nixpkgs/trunk/; revision=24695 --- pkgs/applications/office/keepnote/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 16 ++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/applications/office/keepnote/default.nix diff --git a/pkgs/applications/office/keepnote/default.nix b/pkgs/applications/office/keepnote/default.nix new file mode 100644 index 00000000000..dc7946d1e82 --- /dev/null +++ b/pkgs/applications/office/keepnote/default.nix @@ -0,0 +1,21 @@ +{stdenv, fetchurl, buildPythonPackage, pygtk}: + +buildPythonPackage { + name = "keepnote-0.6.5"; + + src = fetchurl { + url = http://rasm.ods.org/keepnote/download/keepnote-0.6.5.tar.gz; + sha256 = "0kipcy90r50z4m9p8pyy9wi4dknsiwdrgy974xgakris2rh4lafw"; + }; + + propagatedBuildInputs = [ pygtk ]; + + # Testing fails. + doCheck = false; + + meta = { + description = "Note taking application"; + homepage = http://rasm.ods.org/keepnote; + license = "GPLv2+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d3ddde03869..de34e1076e3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5861,6 +5861,22 @@ let kdevelop = newScope pkgs.kde4 ../applications/editors/kdevelop { }; + keepnote = callPackage ../applications/office/keepnote { + # I did not find any better way of reusing buildPythonPackage+setuptools + # for a python with openssl support + buildPythonPackage = assert pythonFull.sqliteSupport; + import ../development/python-modules/generic { + inherit makeWrapper lib; + python = pythonFull; + setuptools = builderDefsPackage (import ../development/python-modules/setuptools) { + inherit makeWrapper; + python = pythonFull; + }; + }; + # How could this pygtk use also pythonFull, I don't know. + pygtk = pyGtkGlade; + }; + kermit = callPackage ../tools/misc/kermit { }; kino = import ../applications/video/kino {