blob: acd5d83e4f1e000897945cdaf9692ed6fdb58e2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, fetchurl, buildDunePackage, bigarray-compat }:
buildDunePackage rec {
pname = "cstruct";
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 = "1z403q2nkgz5x07j0ypy6q0mk2yxgqbp1jlqkngbajna7124x2pb";
};
propagatedBuildInputs = [ bigarray-compat ];
meta = {
description = "Access C-like structures directly from OCaml";
license = lib.licenses.isc;
homepage = "https://github.com/mirage/ocaml-cstruct";
maintainers = [ lib.maintainers.vbgl ];
};
}
|