1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/sexplib/default.nix

23 lines
691 B
Nix
Raw Normal View History

{stdenv, fetchurl, ocaml, findlib, ocaml_typeconv}:
stdenv.mkDerivation {
name = "ocaml-sexplib-7.0.5";
src = fetchurl {
url = "http://forge.ocamlcore.org/frs/download.php/832/sexplib-7.0.5.tar.gz";
sha256 = "b1022da052254581aae51fb634345920364439f715a2c786abcd0b828c2ce697";
};
patches = [ ./sexp-3.10-compat.patch ./sexplib-7.0.5-patch-ocamlbuild-ocaml4.patch ];
buildInputs = [ocaml findlib ocaml_typeconv ];
createFindlibDestdir = true;
meta = {
homepage = "http://forge.ocamlcore.org/projects/sexplib/";
description = "Library for serializing OCaml values to and from S-expressions";
license = "LGPL";
platforms = ocaml.meta.platforms;
};
}