about summary refs log tree commit diff
path: root/pkgs/applications/networking/google-drive-ocamlfuse
diff options
context:
space:
mode:
authorKim Lindberger <kim.lindberger@gmail.com>2020-05-10 21:24:18 +0200
committerGitHub <noreply@github.com>2020-05-10 21:24:18 +0200
commit7451f11730f1a7584fa26ba068548a2ce714056b (patch)
tree5734eb7c75be203869c8a2faed026b9c0f3a3ce5 /pkgs/applications/networking/google-drive-ocamlfuse
parent1013153a591f65436e3272c70f5dac515899f921 (diff)
google-drive-ocamlfuse: 0.7.2 -> 0.7.21 (#86469)
ocamlPackages.ocamlfuse: 2.7.1_cvs5 -> 2.7.1_cvs6_e35e76b
Diffstat (limited to 'pkgs/applications/networking/google-drive-ocamlfuse')
-rw-r--r--pkgs/applications/networking/google-drive-ocamlfuse/default.nix18
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix
index 5465a27bbf2d2..ac6ad4f22fe93 100644
--- a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix
+++ b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix
@@ -1,23 +1,19 @@
-{ stdenv, fetchFromGitHub, zlib
-, ocaml, dune, ocamlfuse, findlib, gapi_ocaml, ocaml_sqlite3, camlidl }:
+{ stdenv, buildDunePackage, fetchFromGitHub
+, ocamlfuse, gapi_ocaml, ocaml_sqlite3
+}:
 
-stdenv.mkDerivation rec {
+buildDunePackage rec {
   pname = "google-drive-ocamlfuse";
-  version = "0.7.2";
+  version = "0.7.21";
 
   src = fetchFromGitHub {
     owner = "astrada";
     repo = "google-drive-ocamlfuse";
     rev = "v${version}";
-    sha256 = "1l6b4bs5x373pw210nl8xal03ns2ib1ls49y64s3lqjfh5wjmnjy";
+    sha256 = "0by3qnjrr1mbxyl2n99zggx8dxnqlicsq2b2hhhxb2d0k8qn47sw";
   };
 
-  nativeBuildInputs = [ dune ];
-
-  buildInputs = [ zlib ocaml ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl ];
-
-  buildPhase = "jbuilder build @install";
-  installPhase = "mkdir $out && dune install --prefix $out";
+  buildInputs = [ ocamlfuse gapi_ocaml ocaml_sqlite3 ];
 
   meta = {
     homepage = "http://gdfuse.forge.ocamlcore.org/";