ocamlPackages.cstruct: 6.2.0 → 6.3.0

This commit is contained in:
Vincent Laporte
2026-09-11 09:19:06 +02:00
parent b3431be033
commit 5b2f5cae13
3 changed files with 12 additions and 14 deletions

View File

@@ -9,19 +9,16 @@
buildDunePackage (finalAttrs: {
pname = "cstruct";
version = "6.2.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
version = "6.3.0";
src = fetchurl {
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${finalAttrs.version}/cstruct-${finalAttrs.version}.tbz";
hash = "sha256-mngHM5JYDoNJFI+jq0sbLpidydMNB0AbBMlrfGDwPmI=";
hash = "sha256-lWsknd+1X9I1hMF2evKPZIcDPTZIiCF6FCddiY69d1Q=";
};
buildInputs = [ fmt ];
doCheck = true;
doCheck = false; # Tests depend on cstruct-sexp
checkInputs = [
alcotest
crowbar

View File

@@ -6,7 +6,8 @@
sexplib,
ppxlib,
ocaml-migrate-parsetree-2,
ounit,
crowbar,
fmt,
cppo,
ppx_sexp_conv,
cstruct-unix,
@@ -21,8 +22,6 @@ else
pname = "ppx_cstruct";
inherit (cstruct) version src meta;
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
cstruct
ppxlib
@@ -32,7 +31,8 @@ else
doCheck = !lib.versionAtLeast ocaml.version "5.1";
nativeCheckInputs = [ cppo ];
checkInputs = [
ounit
crowbar
fmt
ppx_sexp_conv
cstruct-sexp
cstruct-unix

View File

@@ -3,6 +3,7 @@
buildDunePackage,
ocaml,
alcotest,
crowbar,
cstruct,
sexplib,
}:
@@ -15,11 +16,11 @@ else
pname = "cstruct-sexp";
inherit (cstruct) version src meta;
minimalOCamlVersion = "4.08";
duneVersion = "3";
doCheck = true;
checkInputs = [ alcotest ];
checkInputs = [
alcotest
crowbar
];
propagatedBuildInputs = [
cstruct