depot/third_party/nixpkgs/pkgs/development/libraries/gdome2/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

33 lines
825 B
Nix

{lib, stdenv, fetchurl, pkg-config, 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" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib libxml2 gtk-doc ];
propagatedBuildInputs = [glib libxml2];
patches = [
./xml-document.patch
./fno-common.patch
];
meta = with 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;
};
}