diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2024-05-03 20:53:15 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2024-05-13 08:49:13 +0200 |
commit | 65bfaad3cc771a1c6b34cf34f55a253495949e0f (patch) | |
tree | 7db01d0e2c98abf1a21fc6dd956d85e25250fa73 /pkgs/development/ocaml-modules/odoc | |
parent | 98c6ea3b99e11e173f182d720d0b72f0b18a2e01 (diff) |
ocamlPackages.odoc: 2.2.1 → 2.4.2
Diffstat (limited to 'pkgs/development/ocaml-modules/odoc')
-rw-r--r-- | pkgs/development/ocaml-modules/odoc/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/odoc/default.nix b/pkgs/development/ocaml-modules/odoc/default.nix index 18be9801a9c0..92d605be157a 100644 --- a/pkgs/development/ocaml-modules/odoc/default.nix +++ b/pkgs/development/ocaml-modules/odoc/default.nix @@ -1,4 +1,5 @@ { lib, fetchurl, buildDunePackage, ocaml +, ocaml-crunch , astring, cmdliner, cppo, fpath, result, tyxml , markup, yojson, sexplib0, jq , odoc-parser, ppx_expect, bash, fmt @@ -6,14 +7,9 @@ buildDunePackage rec { pname = "odoc"; - version = "2.2.1"; + inherit (odoc-parser) version src; - src = fetchurl { - url = "https://github.com/ocaml/odoc/releases/download/${version}/odoc-${version}.tbz"; - sha256 = "sha256-F4blO/CCT+HHx7gdKn2EaEal0RZ3lp5jljYfd6OBaAM="; - }; - - nativeBuildInputs = [ cppo ]; + nativeBuildInputs = [ cppo ocaml-crunch ]; buildInputs = [ astring cmdliner fpath result tyxml odoc-parser fmt ]; nativeCheckInputs = [ bash jq ]; |