nixpkgs/pkgs/development/ocaml-modules/ocamlfuse/default.nix

29 lines
843 B
Nix
Raw Normal View History

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