mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
28 lines
779 B
Nix
28 lines
779 B
Nix
|
{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 = "GtkMathView is a C++ rendering engine for MathML documents";
|
||
|
license = "LGPLv3+";
|
||
|
maintainers = [ stdenv.lib.maintainers.roconnor ];
|
||
|
};
|
||
|
}
|