1{ stdenv, fetchgit, ocaml, camlidl, fuse, findlib }:
2
3let
4 ocaml_version = (builtins.parseDrvName ocaml.name).version;
5in
6
7stdenv.mkDerivation rec {
8 name = "ocamlfuse-2.7-1";
9 src = fetchgit {
10 url = "https://github.com/astrada/ocamlfuse";
11 rev = "c436c16dbf458bc69b1166b08baf9ec0d6f9042d";
12 sha256 = "4a72097cbcb375c2be92a5c9a44f3511670fac0815d6d00f38dc7c6879e9825d";
13 };
14
15 buildInputs = [ocaml findlib];
16 propagatedBuildInputs = [camlidl fuse];
17 configurePhase = '' ocaml setup.ml -configure --prefix $out '';
18 buildPhase = "ocaml setup.ml -build";
19 installPhase = "ocaml setup.ml -install";
20 createFindlibDestdir = true;
21
22 meta = {
23 homepage = "http://sourceforge.net/projects/ocamlfuse";
24 license = stdenv.lib.licenses.gpl2;
25 description = "ocaml binding for fuse";
26 maintainers = with stdenv.lib.maintainers; [ bennofs ];
27 platforms = stdenv.lib.platforms.linux;
28 };
29}