2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, gtk2, t1lib, glib, libxml2, popt, gmetadom ? null }:
|
2010-12-31 17:48:55 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ t1lib glib gmetadom libxml2 popt];
|
2016-09-11 22:24:51 +01:00
|
|
|
propagatedBuildInputs = [gtk2 t1lib];
|
2010-12-31 17:48:55 +00:00
|
|
|
|
|
|
|
patches = [ ./gcc-4.3-build-fixes.patch ./gcc-4.4-build-fixes.patch ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://helm.cs.unibo.it/mml-widget/";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "C++ rendering engine for MathML documents";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = [ lib.maintainers.roconnor ];
|
2016-09-11 23:49:53 +01:00
|
|
|
broken = true;
|
2010-12-31 17:48:55 +00:00
|
|
|
};
|
|
|
|
}
|