git.iko.soy/typeable/nixpkgs
on master help sign in
google-drive-ocamlfuse: 0.6.21 -> 0.6.25.

Also change to use jbuilder for build per upstream instructions. In this case, the build needs to be driven by jbuilder but opam still needs to be in PATH.

commita140fe83f53bc7a593ce41f10fa4fc2d6cbdb59e authorCorey O'Connor <coreyoconnor@gmail.com> dateMon 19 Mar 2018, 11:45 (9 years ago) parent26fac59
1 file changed+6−7
pkgs/applications/networking/google-drive-ocamlfuse/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/;