git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #37385 from coreyoconnor/google-drive-ocamlfuse-update

google-drive-ocamlfuse and gapi-ocaml update

commitf71a636d3f52072bd2976dfc8bb4556214959af3 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 20 Mar 2018, 00:17 (9 years ago) parent1f50e84a140fe8
2 files changed+12−14
pkgs/applications/networking/google-drive-ocamlfuse/default.nix+6−7 pkgs/development/ocaml-modules/gapi-ocaml/default.nix+6−7
pkgs/applications/networking/google-drive-ocamlfuse/default.nix+6−7
@@ -1,24 +1,23 @@
11{ stdenv, fetchFromGitHub, zlib
2−, ocaml, ocamlbuild, ocamlfuse, findlib, gapi_ocaml, ocaml_sqlite3, camlidl }:
2+, ocaml, jbuilder, opam, ocamlfuse, findlib, gapi_ocaml, ocaml_sqlite3, camlidl }:
33
44stdenv.mkDerivation rec {
55 name = "google-drive-ocamlfuse-${version}";
6− version = "0.6.21";
6+ version = "0.6.25";
77
88 src = fetchFromGitHub {
99 owner = "astrada";
1010 repo = "google-drive-ocamlfuse";
1111 rev = "v${version}";
12− sha256 = "14qvhz18pzxdgxk5vcs024ajbkxccfwc9p3z5r6vfkc9mm851v59";
12+ sha256 = "1rjm2jcc93sz7l25zbgqal81534vvvbmwy7847s0k8fkr5nq97gp";
1313 };
1414
15− nativeBuildInputs = [ ocamlbuild ];
15+ nativeBuildInputs = [ jbuilder opam ];
1616
1717 buildInputs = [ zlib ocaml ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl ];
1818
19− configurePhase = "ocaml setup.ml -configure --prefix \"$out\"";
20− buildPhase = "ocaml setup.ml -build";
21− installPhase = "ocaml setup.ml -install";
19+ buildPhase = "jbuilder build @install";
20+ installPhase = "mkdir $out && jbuilder install --prefix $out";
2221
2322 meta = {
2423 homepage = http://gdfuse.forge.ocamlcore.org/;
pkgs/development/ocaml-modules/gapi-ocaml/default.nix+6−7
@@ -1,20 +1,19 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
22
33stdenv.mkDerivation rec {
44 name = "gapi-ocaml-${version}";
5− version = "0.3.4";
5+ version = "0.3.6";
66 src = fetchFromGitHub {
77 owner = "astrada";
88 repo = "gapi-ocaml";
99 rev = "v${version}";
10− sha256 = "07p6p108fyf9xz54jbcld40k3r9zyybxmr5i3rrkhgwm8gb6sbhv";
10+ sha256 = "0qgsy51bhkpfgl5rdnjw4bqs5fbh2w4vwrfbl8y3lh1wrqmnwci4";
1111 };
12− buildInputs = [ ocaml findlib ocamlbuild ];
12+ buildInputs = [ ocaml jbuilder findlib ];
1313 propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
1414
15− configurePhase = "ocaml setup.ml -configure --prefix $out";
16− buildPhase = "ocaml setup.ml -build";
17− installPhase = "ocaml setup.ml -install";
15+ installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
16+
1817 createFindlibDestdir = true;
1918
2019 meta = {