2019-08-24 09:02:26 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2015-02-22 08:17:52 +01:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "cstruct";
|
2019-08-24 09:02:26 +02:00
|
|
|
version = "4.0.0";
|
2018-11-05 11:21:46 +01:00
|
|
|
|
2017-11-28 02:11:15 +01:00
|
|
|
src = fetchurl {
|
2019-08-24 09:02:26 +02:00
|
|
|
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-v${version}.tbz";
|
|
|
|
sha256 = "1q4fsc2m6d96yf42g3wb3gcnhpnxw800df5mh3yr25pprj8y4m1a";
|
2017-11-28 02:11:15 +01:00
|
|
|
};
|
2016-11-12 10:17:30 +01:00
|
|
|
|
2017-11-28 02:11:15 +01:00
|
|
|
meta = {
|
|
|
|
description = "Access C-like structures directly from OCaml";
|
2019-08-24 09:02:26 +02:00
|
|
|
license = lib.licenses.isc;
|
2017-11-28 02:11:15 +01:00
|
|
|
homepage = "https://github.com/mirage/ocaml-cstruct";
|
2019-08-24 09:02:26 +02:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2017-11-28 02:11:15 +01:00
|
|
|
};
|
2015-02-22 08:17:52 +01:00
|
|
|
}
|