blob: 37c7f660ca6ba5f365d3ebf074af384a65e1ca02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ stdenv, fetchurl, buildDunePackage, sexplib, ocplib-endian }:
buildDunePackage rec {
pname = "cstruct";
version = "3.1.1";
src = fetchurl {
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz";
sha256 = "1x4jxsvd1lrfibnjdjrkfl7hqsc48rljnwbap6faanj9qhwwa6v2";
};
propagatedBuildInputs = [ sexplib ocplib-endian ];
meta = {
description = "Access C-like structures directly from OCaml";
license = stdenv.lib.licenses.isc;
homepage = "https://github.com/mirage/ocaml-cstruct";
maintainers = [ stdenv.lib.maintainers.vbgl ];
};
}
|