@@ -1,37 +0,0 @@
1−{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
2−
3−if lib.versionAtLeast ocaml.version "4.06"
4−then throw "ocaml-data-notation is not available for OCaml ${ocaml.version}"
5−else
6−
7−stdenv.mkDerivation rec {
8− pname = "ocaml-data-notation";
9− version = "0.0.11";
10−
11− src = fetchurl {
12− url = "https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-${version}.tar.gz";
13− sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
14− };
15−
16− nativeBuildInputs = [ ocaml findlib ocamlbuild ];
17− buildInputs = [ type_conv ounit camlp4 ];
18−
19− strictDeps = true;
20−
21− createFindlibDestdir = true;
22−
23− configurePhase = "ocaml setup.ml -configure";
24− buildPhase = "ocaml setup.ml -build";
25− installPhase = "ocaml setup.ml -install";
26−
27− meta = with lib; {
28− description = "Store data using OCaml notation";
29− homepage = "https://forge.ocamlcore.org/projects/odn/";
30− license = licenses.lgpl21;
31− platforms = ocaml.meta.platforms or [ ];
32− maintainers = with maintainers; [
33− vbgl
34− maggesi
35− ];
36− };
37−}