1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/development/ocaml-modules/cstruct/default.nix

19 lines
523 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "cstruct";
version = "4.0.0";
2017-11-28 01:11:15 +00:00
src = fetchurl {
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-v${version}.tbz";
sha256 = "1q4fsc2m6d96yf42g3wb3gcnhpnxw800df5mh3yr25pprj8y4m1a";
2017-11-28 01:11:15 +00:00
};
2017-11-28 01:11:15 +00:00
meta = {
description = "Access C-like structures directly from OCaml";
license = lib.licenses.isc;
2017-11-28 01:11:15 +00:00
homepage = "https://github.com/mirage/ocaml-cstruct";
maintainers = [ lib.maintainers.vbgl ];
2017-11-28 01:11:15 +00:00
};
}