1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

ocamlPackages.alcotest: 1.7.0 → 1.8.0

This commit is contained in:
Vincent Laporte 2024-08-08 15:57:49 +02:00
parent 84c36792c1
commit c23aa12f82
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,20 +1,14 @@
{ lib, buildDunePackage, fetchurl, fetchpatch { lib, buildDunePackage, fetchurl
, astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims , astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "alcotest"; pname = "alcotest";
version = "1.7.0"; version = "1.8.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz"; url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
hash = "sha256-gSus2zS0XoiZXgfXMGvasvckee8ZlmN/HV0fQWZ5At8="; hash = "sha256-y6G9AXB8jFW0dkuw34yccyvjIeHxwalqQG5W2NvKHQ4=";
};
# Fix tests with OCaml 5.2
patches = fetchpatch {
url = "https://github.com/mirage/alcotest/commit/aa437168b258db97680021116af176c55e1bd53b.patch";
hash = "sha256-cytuJFg4Mft47LsAEcz2zvzyy1wNzMdeLK+cjaFANpo=";
}; };
nativeBuildInputs = [ ocaml-syntax-shims ]; nativeBuildInputs = [ ocaml-syntax-shims ];