diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/office/gnumeric/default.nix | 26 | ||||
-rw-r--r-- | pkgs/development/libraries/goffice/0.9.nix | 37 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 14 |
3 files changed, 76 insertions, 1 deletions
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix new file mode 100644 index 000000000000..0c982dc99a95 --- /dev/null +++ b/pkgs/applications/office/gnumeric/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl +, bzip2, glib, goffice, gtk3, intltool, libglade, libgsf, libxml2 +, pango, pkgconfig, scrollkeeper, zlib +}: + +stdenv.mkDerivation { + name = "gnumeric-1.11.3"; + + src = fetchurl { + url = mirror://gnome/sources/gnumeric/1.11/gnumeric-1.11.3.tar.xz; + sha256 = "1hblcbba4qzlby094dih6ncclgf2n5ac59lqg9dykpz8ad3hxw72"; + }; + + configureFlags = "--disable-component"; + + buildInputs = [ + bzip2 glib goffice gtk3 intltool libglade libgsf libxml2 + pango pkgconfig scrollkeeper zlib + ]; + + meta = { + description = "The GNOME Office Spreadsheet"; + license = "GPLv2+"; + homepage = http://projects.gnome.org/gnumeric/; + }; +} diff --git a/pkgs/development/libraries/goffice/0.9.nix b/pkgs/development/libraries/goffice/0.9.nix new file mode 100644 index 000000000000..23b65b1c712c --- /dev/null +++ b/pkgs/development/libraries/goffice/0.9.nix @@ -0,0 +1,37 @@ +{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2 +, pango, libgsf, libxml2, libart, librsvg, intltool, gettext +, cairo, gconf, libgnomeui }: + +stdenv.mkDerivation rec { + name = "goffice-0.9.3"; + + src = fetchurl { + url = "mirror://gnome/sources/goffice/0.9/${name}.tar.xz"; + sha256 = "0l9achvmbmhn2p5qd0nl7vxn5c3nf1ndzlyknczzyiaa6d5zj91h"; + }; + + buildInputs = [ + pkgconfig libglade bzip2 libart intltool gettext + gconf libgnomeui + ]; + + propagatedBuildInputs = [ + glib libgsf libxml2 gtk libglade libart librsvg cairo pango + ]; + + doCheck = true; + + meta = { + description = "GOffice, a Glib/GTK+ set of document centric objects and utilities"; + + longDescription = '' + There are common operations for document centric applications that are + conceptually simple, but complex to implement fully: plugins, load/save + documents, undo/redo. + ''; + + license = "GPLv2+"; + + platforms = stdenv.lib.platforms.gnu; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 28f7e07f2be4..532f0eb6ca99 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1,4 +1,4 @@ -/* This file composes the Nix Packages collection. That is, it +/* This file composes the Nix Packages collection. That is, it gtk3 imports the functions that build the various packages, and calls them with appropriate arguments. The result is a set of all the packages in the Nix Packages collection for some particular @@ -3597,6 +3597,13 @@ let libart = gnome.libart_lgpl; }; + goffice_0_9 = callPackage ../development/libraries/goffice/0.9.nix { + inherit (gnome) libglade libgnomeui; + gconf = gnome.GConf; + libart = gnome.libart_lgpl; + gtk = gtk3; + }; + goocanvas = callPackage ../development/libraries/goocanvas { }; google_perftools = callPackage ../development/libraries/google-perftools { }; @@ -6795,6 +6802,11 @@ let inherit (gnome) GConf; }; + gnumeric = callPackage ../applications/office/gnumeric { + goffice = goffice_0_9; + inherit (gnome) libglade scrollkeeper; + }; + gnunet08 = callPackage ../applications/networking/p2p/gnunet/0.8.nix { inherit (gnome) libglade; guile = guile_1_8; |