diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-01-25 22:08:33 +0100 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-01-25 22:10:09 +0100 |
commit | be58ce4815dc40d94409b65e210425a24b3819c0 (patch) | |
tree | b0eb347095070d5589d3a70a1502878c042a0967 /pkgs/development/ocaml-modules/ocamlfuse | |
parent | 8408136da7bec07a17f8cf0760f9162df8041e4e (diff) | |
download | nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar.gz nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar.bz2 nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar.lz nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar.xz nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.tar.zst nixlib-be58ce4815dc40d94409b65e210425a24b3819c0.zip |
google-drive-ocamlfuse: new expression
Diffstat (limited to 'pkgs/development/ocaml-modules/ocamlfuse')
-rw-r--r-- | pkgs/development/ocaml-modules/ocamlfuse/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocamlfuse/default.nix b/pkgs/development/ocaml-modules/ocamlfuse/default.nix new file mode 100644 index 000000000000..ce9f2cc02ed9 --- /dev/null +++ b/pkgs/development/ocaml-modules/ocamlfuse/default.nix @@ -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; + }; +} |