2016-10-01 14:13:41 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ocaml, camlidl, fuse, findlib }:
|
2015-01-25 22:08:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ocamlfuse";
|
2017-09-21 13:14:22 +02:00
|
|
|
version = "2.7.1_cvs5";
|
|
|
|
|
2016-10-01 14:13:41 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = "ocamlfuse";
|
2017-09-21 13:14:22 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01ayw2hzpxan95kncbxh9isj9g149cs8scq3xim1vy8bz085wb0m";
|
2015-01-25 22:08:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://sourceforge.net/projects/ocamlfuse;
|
2017-09-21 13:14:22 +02:00
|
|
|
description = "OCaml bindings for FUSE";
|
2015-01-25 22:08:33 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-09-21 13:14:22 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
2015-01-25 22:08:33 +01:00
|
|
|
};
|
|
|
|
}
|