ocamlPackages.cstruct: 4.0.0 → 5.0.0

This commit is contained in:
Vincent Laporte
2020-11-26 06:55:12 +01:00
committed by Vincent Laporte
parent 4d47330bef
commit 4a1ff5b3ce
5 changed files with 15 additions and 9 deletions
@@ -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;