2010-12-31 18:48:55 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, libxml2, gtkdoc}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gdome2";
|
|
|
|
version = "0.8.1";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gdome2.cs.unibo.it/tarball/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0hyms5s3hziajp3qbwdwqjc2xcyhb783damqg8wxjpwfxyi81fzl";
|
|
|
|
};
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 20:53:34 +01:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libxml2 gtkdoc];
|
2010-12-31 18:48:55 +01:00
|
|
|
propagatedBuildInputs = [glib libxml2];
|
2015-01-04 16:11:54 +01:00
|
|
|
patches = [ ./xml-document.patch ];
|
2010-12-31 18:48:55 +01:00
|
|
|
|
2015-01-04 16:11:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-31 18:48:55 +01:00
|
|
|
homepage = http://gdome2.cs.unibo.it/;
|
2014-12-30 03:31:03 +01:00
|
|
|
description = "DOM C library developed for the Gnome project";
|
2015-01-04 16:11:54 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ prikhi roconnor ];
|
|
|
|
platforms = platforms.linux;
|
2010-12-31 18:48:55 +01:00
|
|
|
};
|
|
|
|
}
|