at 22.05-pre 33 lines 825 B view raw
1{lib, stdenv, fetchurl, pkg-config, glib, libxml2, gtk-doc}: 2 3let 4 pname = "gdome2"; 5 version = "0.8.1"; 6in 7 8stdenv.mkDerivation { 9 name = "${pname}-${version}"; 10 11 src = fetchurl { 12 url = "http://gdome2.cs.unibo.it/tarball/${pname}-${version}.tar.gz"; 13 sha256 = "0hyms5s3hziajp3qbwdwqjc2xcyhb783damqg8wxjpwfxyi81fzl"; 14 }; 15 16 hardeningDisable = [ "format" ]; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ glib libxml2 gtk-doc ]; 20 propagatedBuildInputs = [glib libxml2]; 21 patches = [ 22 ./xml-document.patch 23 ./fno-common.patch 24 ]; 25 26 meta = with lib; { 27 homepage = "http://gdome2.cs.unibo.it/"; 28 description = "DOM C library developed for the Gnome project"; 29 license = licenses.lgpl21Plus; 30 maintainers = with maintainers; [ prikhi roconnor ]; 31 platforms = platforms.linux; 32 }; 33}