diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/cstruct/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/cstruct/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/cstruct/default.nix b/pkgs/development/ocaml-modules/cstruct/default.nix index 01a32fc09a2..acd5d83e4f1 100644 --- a/pkgs/development/ocaml-modules/cstruct/default.nix +++ b/pkgs/development/ocaml-modules/cstruct/default.nix @@ -1,14 +1,20 @@ -{ lib, fetchurl, buildDunePackage }: +{ lib, fetchurl, buildDunePackage, bigarray-compat }: buildDunePackage rec { pname = "cstruct"; - version = "4.0.0"; + version = "5.0.0"; + + useDune2 = true; + + minimumOCamlVersion = "4.03"; src = fetchurl { url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-v${version}.tbz"; - sha256 = "1q4fsc2m6d96yf42g3wb3gcnhpnxw800df5mh3yr25pprj8y4m1a"; + sha256 = "1z403q2nkgz5x07j0ypy6q0mk2yxgqbp1jlqkngbajna7124x2pb"; }; + propagatedBuildInputs = [ bigarray-compat ]; + meta = { description = "Access C-like structures directly from OCaml"; license = lib.licenses.isc; |