Skip to content

Commit

Permalink
ocamlPackages.yaml: 3.1.0 → 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Nov 17, 2023
1 parent 3b7c461 commit e3de846
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/ocaml-modules/yaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

buildDunePackage rec {
pname = "yaml";
version = "3.1.0";
version = "3.2.0";

src = fetchurl {
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz";
hash = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc=";
hash = "sha256-xQ0qyii5+WZ5K3HhYDNR5dJO2k39PkRT+9UDZqOggic=";
};

minimalOCamlVersion = "4.13";
duneVersion = "3";

buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ bos ctypes ];
Expand Down
9 changes: 6 additions & 3 deletions pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{ lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib }:
{ lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib
, junit_alcotest
}:

buildDunePackage rec {
pname = "yaml-sexp";

inherit (yaml) version src;

duneVersion = "3";

propagatedBuildInputs = [ yaml ppx_sexp_conv sexplib ];

doCheck = true;
checkInputs = [ junit_alcotest ];

meta = yaml.meta // {
description = "ocaml-yaml with sexp support";
};
Expand Down

0 comments on commit e3de846

Please sign in to comment.