2010-12-31 17:48:55 +00: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 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 19:53:34 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libxml2 gtkdoc];
|
2010-12-31 17:48:55 +00:00
|
|
|
propagatedBuildInputs = [glib libxml2];
|
2015-01-04 15:11:54 +00:00
|
|
|
patches = [ ./xml-document.patch ];
|
2010-12-31 17:48:55 +00:00
|
|
|
|
2015-01-04 15:11:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-31 17:48:55 +00:00
|
|
|
homepage = http://gdome2.cs.unibo.it/;
|
2014-12-30 02:31:03 +00:00
|
|
|
description = "DOM C library developed for the Gnome project";
|
2015-01-04 15:11:54 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ prikhi roconnor ];
|
|
|
|
platforms = platforms.linux;
|
2010-12-31 17:48:55 +00:00
|
|
|
};
|
|
|
|
}
|