diff options
author | Jules Aguillon <jules@j3s.fr> | 2022-07-19 10:58:34 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-07-26 13:33:49 +0200 |
commit | 6d559df86798cbe99b7de8c94a25a5ac1b240c98 (patch) | |
tree | 2bdbe5a48ec68506edeb9bfad5de78551b10d4e0 | |
parent | f201a7722ce266d052188818f6bca7ba2b099f17 (diff) | |
download | nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar.gz nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar.bz2 nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar.lz nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar.xz nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.tar.zst nixpkgs-6d559df86798cbe99b7de8c94a25a5ac1b240c98.zip |
ocamlPackages.odoc-parser: init 1.0.1 & 2.0.0
-rw-r--r-- | pkgs/development/ocaml-modules/odoc-parser/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/odoc-parser/default.nix b/pkgs/development/ocaml-modules/odoc-parser/default.nix index 9e4e4bc8d1d..653db5ae50a 100644 --- a/pkgs/development/ocaml-modules/odoc-parser/default.nix +++ b/pkgs/development/ocaml-modules/odoc-parser/default.nix @@ -1,11 +1,21 @@ -{ lib, fetchurl, buildDunePackage, astring, result , version ? "1.0.0" }: +{ lib, fetchurl, buildDunePackage, astring, result, camlp-streams, version ? "1.0.0" }: let param = { + "2.0.0" = { + sha256 = "sha256-QHkZ+7DrlXYdb8bsZ3dijZSqGQc0O9ymeLGIC6+zOSI="; + extraBuildInputs = [ camlp-streams ]; + }; + "1.0.1" = { + sha256 = "sha256-orvo5CAbYOmAurAeluQfK6CwW6P1C0T3WDfoovuQfSw="; + extraBuildInputs = [ camlp-streams ]; + }; "1.0.0" = { sha256 = "sha256-tqoI6nGp662bK+vE2h7aDXE882dObVfRBFnZNChueqE="; + extraBuildInputs = []; }; "0.9.0" = { sha256 = "sha256-3w2tG605v03mvmZsS2O5c71y66O3W+n3JjFxIbXwvXk="; + extraBuildInputs = []; }; }."${version}"; in @@ -23,7 +33,7 @@ buildDunePackage rec { useDune2 = true; - propagatedBuildInputs = [ astring result ]; + propagatedBuildInputs = [ astring result ] ++ param.extraBuildInputs; meta = { description = "Parser for Ocaml documentation comments"; |