2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, glib, libxml2, gtk-doc}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib libxml2 gtk-doc ];
|
|
|
|
propagatedBuildInputs = [glib libxml2];
|
2021-10-01 09:20:50 +00:00
|
|
|
patches = [
|
|
|
|
./xml-document.patch
|
|
|
|
./fno-common.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://gdome2.cs.unibo.it/";
|
|
|
|
description = "DOM C library developed for the Gnome project";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gdome-config";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ prikhi roconnor ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|