nixpkgs/pkgs/development/libraries/goffice/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

{ fetchurl, lib, stdenv, pkg-config, intltool, glib, gtk3, lasem
2018-12-24 11:37:51 +00:00
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
2015-04-10 16:02:57 +01:00
stdenv.mkDerivation rec {
2018-12-24 11:37:51 +00:00
pname = "goffice";
2020-08-26 05:20:29 +01:00
version = "0.10.48";
2015-04-10 16:02:57 +01:00
outputs = [ "out" "dev" "devdoc" ];
2015-04-10 16:02:57 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-08-26 05:20:29 +01:00
sha256 = "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4";
2015-04-10 16:02:57 +01:00
};
nativeBuildInputs = [ pkg-config intltool ];
2015-04-10 16:02:57 +01:00
propagatedBuildInputs = [
glib gtk3 libxml2 cairo pango libgsf lasem
2015-04-10 16:02:57 +01:00
];
buildInputs = [ libxslt librsvg ];
enableParallelBuilding = true;
doCheck = true;
2018-12-24 11:37:51 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
2015-04-10 16:02:57 +01:00
meta = {
description = "A Glib/GTK set of document centric objects and utilities";
2015-04-10 16:02:57 +01:00
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 = lib.licenses.gpl2Plus;
2015-04-10 16:02:57 +01:00
platforms = lib.platforms.unix;
2015-04-10 16:02:57 +01:00
};
}