ocamlPackages.cstruct: 2.3.2 -> 3.0.2

This commit is contained in:
Vincent Laporte
2017-11-27 20:49:18 +00:00
parent e7f4979270
commit bfc0959511
10 changed files with 115 additions and 45 deletions
@@ -0,0 +1,13 @@
{ stdenv, ocaml, cstruct, ppx_tools_versioned }:
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ppx_cstruct-${version}";
inherit (cstruct) version src unpackCmd installPhase meta;
buildInputs = cstruct.buildInputs ++ [ ppx_tools_versioned ];
propagatedBuildInputs = [ cstruct ];
buildPhase = "jbuilder build -p ppx_cstruct";
}