3
0
Fork 0
forked from mirrors/nixpkgs

Added gnumeric.

svn path=/nixpkgs/trunk/; revision=34272
This commit is contained in:
Andres Löh 2012-05-29 12:21:33 +00:00
parent ae23a33b9a
commit 4e10015cab
3 changed files with 76 additions and 1 deletions

View file

@ -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/;
};
}

View file

@ -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;
};
}

View file

@ -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;