1{stdenv, fetchurl, pkgconfig, gtk2, t1lib, glib, libxml2, popt, gmetadom ? null }:
2
3let
4 pname = "gtkmathview";
5 version = "0.8.0";
6in
7
8stdenv.mkDerivation {
9 name = "${pname}-${version}";
10
11 src = fetchurl {
12 url = "http://helm.cs.unibo.it/mml-widget/sources/${pname}-${version}.tar.gz";
13 sha256 = "0hwcamf5fi35frg7q6kgisc9v0prqbhsplb2gl55cg3av9sh3hqx";
14 };
15
16 nativeBuildInputs = [ pkgconfig ];
17 buildInputs = [ t1lib glib gmetadom libxml2 popt];
18 propagatedBuildInputs = [gtk2 t1lib];
19
20 patches = [ ./gcc-4.3-build-fixes.patch ./gcc-4.4-build-fixes.patch ];
21
22 meta = {
23 homepage = http://helm.cs.unibo.it/mml-widget/;
24 description = "C++ rendering engine for MathML documents";
25 license = stdenv.lib.licenses.lgpl3Plus;
26 maintainers = [ stdenv.lib.maintainers.roconnor ];
27 broken = true;
28 };
29}