google-drive-ocamlfuse: new expression
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gapi-ocaml-0.2.6";
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1468/${name}.tar.gz";
|
||||
sha256 = "1sqsir07xxk9xy723l206r7d10sp6rfid9dvi0g34vbkvshm50y2";
|
||||
};
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
description = "OCaml client for google services";
|
||||
homepage = http://gapi-ocaml.forge.ocamlcore.org;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
||||
platforms = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchgit, ocaml, camlidl, fuse, findlib }:
|
||||
|
||||
let
|
||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocamlfuse-2.7-1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/astrada/ocamlfuse";
|
||||
rev = "c436c16dbf458bc69b1166b08baf9ec0d6f9042d";
|
||||
sha256 = "4a72097cbcb375c2be92a5c9a44f3511670fac0815d6d00f38dc7c6879e9825d";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib];
|
||||
propagatedBuildInputs = [camlidl fuse];
|
||||
configurePhase = '' ocaml setup.ml -configure --prefix $out '';
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://sourceforge.net/projects/ocamlfuse";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
description = "ocaml binding for fuse";
|
||||
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ stdenv, ocaml, findlib, fetchurl, curl, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocurl-0.7.2";
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1463/${name}.tar.gz";
|
||||
sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib curl ncurses];
|
||||
createFindlibDestdir = true;
|
||||
meta = {
|
||||
description = "OCaml bindings to libcurl";
|
||||
license = stdenv.lib.licenses.bsd;
|
||||
homepage = http://ocurl.forge.ocamlcore.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
||||
platforms = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user