mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
ocamlPackages.cstruct: 6.2.0 → 6.3.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user