From dd3eea4b476552cbdf95388179bfdd668d04b8b7 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 24 Dec 2018 14:57:38 +0100 Subject: [PATCH] goffice: add lasem support Also split outputs --- pkgs/development/libraries/goffice/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/goffice/default.nix b/pkgs/development/libraries/goffice/default.nix index ac6836dc69dd..3d3275b041f1 100644 --- a/pkgs/development/libraries/goffice/default.nix +++ b/pkgs/development/libraries/goffice/default.nix @@ -1,10 +1,12 @@ -{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3 +{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3, lasem , libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }: stdenv.mkDerivation rec { pname = "goffice"; version = "0.10.44"; + outputs = [ "out" "dev" "devdoc" ]; + src = fetchurl { url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"; @@ -12,8 +14,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig intltool ]; - propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection? - glib gtk3 libxml2 cairo pango libgsf + propagatedBuildInputs = [ + glib gtk3 libxml2 cairo pango libgsf lasem ]; buildInputs = [ libxslt librsvg ];