From 2bbef7658afa2b83f2e1bc01cf2cf9182fc913f8 Mon Sep 17 00:00:00 2001 From: José Romildo Malaquias Date: Wed, 20 Sep 2017 08:56:11 -0300 Subject: google-drive-ocamlfuse: 0.6.17 -> 0.6.21 --- .../networking/google-drive-ocamlfuse/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'pkgs') diff --git a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix index 674cf60161db..ddc9df759996 100644 --- a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix +++ b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix @@ -1,16 +1,20 @@ -{ stdenv, fetchurl, zlib +{ stdenv, fetchFromGitHub, zlib , ocaml, ocamlbuild, ocamlfuse, findlib, gapi_ocaml, ocaml_sqlite3, camlidl }: stdenv.mkDerivation rec { - name = "google-drive-ocamlfuse-${version}"; - version = "0.6.17"; + name = "google-drive-ocamlfuse-${version}"; + version = "0.6.21"; - src = fetchurl { - url = "https://forge.ocamlcore.org/frs/download.php/1674/${name}.tar.gz"; - sha256 = "1ldja7080pnjaibrbdvfqwakp4mac8yw1lkb95f7lgldmy96lxas"; + src = fetchFromGitHub { + owner = "astrada"; + repo = "google-drive-ocamlfuse"; + rev = "v${version}"; + sha256 = "14qvhz18pzxdgxk5vcs024ajbkxccfwc9p3z5r6vfkc9mm851v59"; }; - buildInputs = [ zlib ocaml ocamlbuild ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl]; + nativeBuildInputs = [ ocamlbuild ]; + + buildInputs = [ zlib ocaml ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl ]; configurePhase = "ocaml setup.ml -configure --prefix \"$out\""; buildPhase = "ocaml setup.ml -build"; -- cgit 1.4.1