summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-11-10 05:44:41 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-11-17 06:56:01 +0100
commite3de8469478237f377e9e06edbd9b34c59f2c900 (patch)
tree18ba8a28553d9063766843a3de569ed28a4d2c75
parent3b7c461dd563bca4034dff3a47ec6419a493af5f (diff)
downloadnixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar.gz
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar.bz2
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar.lz
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar.xz
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.tar.zst
nixpkgs-e3de8469478237f377e9e06edbd9b34c59f2c900.zip
ocamlPackages.yaml: 3.1.0 → 3.2.0
-rw-r--r--pkgs/development/ocaml-modules/yaml/default.nix5
-rw-r--r--pkgs/development/ocaml-modules/yaml/yaml-sexp.nix9
2 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/yaml/default.nix b/pkgs/development/ocaml-modules/yaml/default.nix
index 416438dafbd..99b6fb245a2 100644
--- a/pkgs/development/ocaml-modules/yaml/default.nix
+++ b/pkgs/development/ocaml-modules/yaml/default.nix
@@ -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 ];
diff --git a/pkgs/development/ocaml-modules/yaml/yaml-sexp.nix b/pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
index aa8566ea608..e0cc9fac177 100644
--- a/pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
+++ b/pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
@@ -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";
   };