nixpkgs/pkgs/development/libraries/gdome2/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

31 lines
791 B
Nix

{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";
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libxml2 gtkdoc];
propagatedBuildInputs = [glib libxml2];
patches = [ ./xml-document.patch ];
meta = with stdenv.lib; {
homepage = http://gdome2.cs.unibo.it/;
description = "DOM C library developed for the Gnome project";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ prikhi roconnor ];
platforms = platforms.linux;
};
}