summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocamlfuse/default.nix
blob: de69ce472281c3f5ade6e71993593195d13688f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, ocaml, camlidl, fuse, findlib }:

stdenv.mkDerivation rec {
  name = "ocamlfuse-2.7-3";
  src = fetchFromGitHub {
    owner = "astrada";
    repo = "ocamlfuse";
    rev = "a085349685758668854499ce6c1fc00c83a5c23b";
    sha256 = "1pyml2ay5wab1blwpzrv1r6lnycm000jk6aar8i9fkdnh15sa6c3";
  };

  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;
  };
}