nixpkgs/pkgs/development/ocaml-modules/gmetadom/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
936 B
Nix
Raw Normal View History

{stdenv, lib, fetchurl, ocaml, findlib, gdome2, libxslt, pkg-config}:
let
pname = "gmetadom";
in
2016-10-05 07:32:30 +00:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
2016-10-05 07:32:30 +00:00
version = "0.2.6";
src = fetchurl {
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
sha256 = "0skmlv0pnqvg99wzzzi1h4zhwzd82xg7xpkj1kwpfy7bzinjh7ig";
};
patches = [ ./gcc-4.3.patch ];
dontDisableStatic = true;
preConfigure=''
2016-10-05 07:32:30 +00:00
configureFlags="--with-ocaml-lib-prefix=$out/lib/ocaml/${ocaml.version}/site-lib"
'';
nativeBuildInputs = [ pkg-config ocaml findlib ];
buildInputs = [ libxslt ];
propagatedBuildInputs = [ gdome2 ];
strictDeps = true;
meta = {
homepage = "http://gmetadom.sourceforge.net/";
description = "A collection of librares, each library providing a DOM implementation";
license = lib.licenses.lgpl21Plus;
maintainers = [ lib.maintainers.roconnor ];
};
}