Merge pull request #10274 from obadz/google-drive-ocamlfuse

google-drive-ocamlfuse: 0.5.12 -> 0.5.18

+15 -6
+15 -6
pkgs/applications/networking/google-drive-ocamlfuse/default.nix
··· 1 - { stdenv, fetchurl, ocamlPackages, zlib }: 1 + { stdenv, fetchFromGitHub, ocamlPackages, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "google-drive-ocamlfuse-0.5.12"; 5 - src = fetchurl { 6 - url = "https://forge.ocamlcore.org/frs/download.php/1489/${name}.tar.gz"; 7 - sha256 = "0yfzzrv4h7vplw6qjm9viymy51jaqqari012agar96zwa86fsrdr"; 4 + name = "google-drive-ocamlfuse-${version}"; 5 + version = "0.5.18"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "astrada"; 9 + repo = "google-drive-ocamlfuse"; 10 + rev = "v${version}"; 11 + sha256 = "0a545zalsqw3jndrvkc0bsn4aab74cf8lwnsw09b5gjm8pm79b9r"; 8 12 }; 9 13 10 14 buildInputs = [ zlib ] ++ (with ocamlPackages; [ocaml ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl]); 15 + 11 16 configurePhase = "ocaml setup.ml -configure --prefix \"$out\""; 12 17 buildPhase = "ocaml setup.ml -build"; 13 18 installPhase = "ocaml setup.ml -install"; 14 19 15 20 meta = { 16 - 21 + homepage = http://gdfuse.forge.ocamlcore.org/; 22 + description = "A FUSE-based file system backed by Google Drive, written in OCaml"; 23 + license = stdenv.lib.licenses.mit; 24 + platforms = stdenv.lib.platforms.linux; 25 + maintainers = with stdenv.lib.maintainers; [ obadz ]; 17 26 }; 18 27 }