3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ctypes: 0.11.5 -> 0.13.1

This commit is contained in:
Vincent Laporte 2018-02-23 17:19:25 +00:00 committed by Vincent Laporte
parent d8ab8ddae1
commit 7f327dfa63
2 changed files with 10 additions and 8 deletions

View file

@ -1,19 +1,19 @@
{stdenv, buildOcaml, fetchurl, libffi, pkgconfig, ncurses}: { stdenv, buildOcaml, fetchzip, libffi, pkgconfig, ncurses, integers }:
buildOcaml rec { buildOcaml rec {
name = "ctypes"; name = "ctypes";
version = "0.11.5"; version = "0.13.1";
minimumSupportedOcamlVersion = "4"; minimumSupportedOcamlVersion = "4";
src = fetchurl { src = fetchzip {
url = "https://github.com/ocamllabs/ocaml-ctypes/archive/${version}.tar.gz"; url = "https://github.com/ocamllabs/ocaml-ctypes/archive/67e711ec891e087fbe1e0b4665aa525af4eaa409.tar.gz";
sha256 = "164gyrs6zxr5pyljwpjgd4knwlrkcmamsq3gvkkkvgf9rmhrl3zf"; sha256 = "1z84s5znr3lj84rzv6m37xxj9h7fwx4qiiykx3djf52qgk1rb2xb";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
propagatedBuildInputs = [ libffi ]; propagatedBuildInputs = [ integers libffi ];
hasSharedObjects = true; hasSharedObjects = true;

View file

@ -1,10 +1,12 @@
{stdenv, buildOcamlJane, fetchurl, async, comparelib, core, ctypes, openssl, { stdenv, ocaml, buildOcamlJane, fetchurl, async, comparelib, core, ctypes
fieldslib, herelib, pipebang, sexplib, ocaml_oasis}: , openssl, fieldslib, herelib, pipebang, sexplib, ocaml_oasis, integers
}:
buildOcamlJane rec { buildOcamlJane rec {
name = "async_ssl"; name = "async_ssl";
version = "113.33.07"; version = "113.33.07";
hash = "0bhzpnmlx6dy4fli3i7ipjwqbsdi7fq171jrila5dr3ciy3841xs"; hash = "0bhzpnmlx6dy4fli3i7ipjwqbsdi7fq171jrila5dr3ciy3841xs";
postPatch = "export CAML_LD_LIBRARY_PATH=${integers}/lib/ocaml/${ocaml.version}/site-lib/stubslibs:$CAML_LD_LIBRARY_PATH";
propagatedBuildInputs = [ ctypes async comparelib core fieldslib propagatedBuildInputs = [ ctypes async comparelib core fieldslib
herelib pipebang sexplib openssl ocaml_oasis ]; herelib pipebang sexplib openssl ocaml_oasis ];
meta = with stdenv.lib; { meta = with stdenv.lib; {