nixpkgs/pkgs/development/libraries/gdome2/default.nix

31 lines
796 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, glib, libxml2, gtk-doc}:
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" ];
2016-02-07 19:53:34 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libxml2 gtk-doc ];
propagatedBuildInputs = [glib libxml2];
2015-01-04 15:11:54 +00:00
patches = [ ./xml-document.patch ];
2015-01-04 15:11:54 +00:00
meta = with stdenv.lib; {
homepage = "http://gdome2.cs.unibo.it/";
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;
};
}