ocamlPackages.findlib: 1.5.3 -> 1.6.1
This commit is contained in:
parent
576746970e
commit
5b28d3f1eb
@ -4,12 +4,13 @@ let
|
|||||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml-findlib-1.5.3";
|
name = "ocaml-findlib-${version}";
|
||||||
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://download.camlcity.org/download/findlib-1.5.3.tar.gz;
|
url = "http://download.camlcity.org/download/findlib-${version}.tar.gz";
|
||||||
sha256 = "1kw2siv4pc8q060m9xpgxvjs07ic1kiphyxmkwcz6nyb91p8286r";
|
sha256 = "02abg1lsnwvjg3igdyb8qjgr5kv1nbwl4gaf8mdinzfii5p82721";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [m4 ncurses ocaml];
|
buildInputs = [m4 ncurses ocaml];
|
||||||
@ -57,3 +58,5 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
--- findlib-1.5.3/src/findlib/Makefile 2014-09-16 13:21:46.000000000 +0200
|
--- a/src/findlib/Makefile
|
||||||
+++ findlib-1.5.3/src/findlib/Makefile.new 2014-10-01 14:30:54.141082521 +0200
|
+++ b/src/findlib/Makefile
|
||||||
@@ -89,7 +89,7 @@
|
@@ -114,7 +114,7 @@ clean:
|
||||||
install: all
|
install: all
|
||||||
mkdir -p "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
mkdir -p "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
||||||
mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
|
mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
|
||||||
- test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)"
|
- test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)"
|
||||||
+ test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_SITELIB)"
|
+ test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_SITELIB)"
|
||||||
files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib.cmxa findlib.a findlib.cmxs META` && \
|
files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib.cmxa findlib.a findlib.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
|
||||||
cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
||||||
f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
|
f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user