summary refs log tree commit diff
path: root/pkgs/development/libraries/gtkmathview/default.nix
blob: 8a6914cfcd3bc2261902a3c5be9e0f4d5266cd2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{stdenv, fetchurl, pkgconfig, gtk, t1lib, glib, libxml2, popt, gmetadom ? null }:

let
  pname = "gtkmathview";
  version = "0.8.0";
in

stdenv.mkDerivation {
  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://helm.cs.unibo.it/mml-widget/sources/${pname}-${version}.tar.gz";
    sha256 = "0hwcamf5fi35frg7q6kgisc9v0prqbhsplb2gl55cg3av9sh3hqx";
  };

  buildInputs = [pkgconfig gtk t1lib glib gmetadom libxml2 popt];
  propagatedBuildInputs = [gtk t1lib];

  patches = [ ./gcc-4.3-build-fixes.patch ./gcc-4.4-build-fixes.patch ];

  meta = {
    homepage = http://helm.cs.unibo.it/mml-widget/;
    description = "C++ rendering engine for MathML documents";
    license = stdenv.lib.licenses.lgpl3Plus;
    maintainers = [ stdenv.lib.maintainers.roconnor ];
  };
}