lol
at 18.09-beta 28 lines 843 B view raw
1{ stdenv, fetchFromGitHub, ocaml, camlidl, fuse, findlib }: 2 3stdenv.mkDerivation rec { 4 name = "ocamlfuse-${version}"; 5 version = "2.7.1_cvs5"; 6 7 src = fetchFromGitHub { 8 owner = "astrada"; 9 repo = "ocamlfuse"; 10 rev = "v${version}"; 11 sha256 = "01ayw2hzpxan95kncbxh9isj9g149cs8scq3xim1vy8bz085wb0m"; 12 }; 13 14 buildInputs = [ocaml findlib]; 15 propagatedBuildInputs = [camlidl fuse]; 16 configurePhase = '' ocaml setup.ml -configure --prefix $out ''; 17 buildPhase = "ocaml setup.ml -build"; 18 installPhase = "ocaml setup.ml -install"; 19 createFindlibDestdir = true; 20 21 meta = { 22 homepage = https://sourceforge.net/projects/ocamlfuse; 23 description = "OCaml bindings for FUSE"; 24 license = stdenv.lib.licenses.gpl2; 25 platforms = stdenv.lib.platforms.linux; 26 maintainers = with stdenv.lib.maintainers; [ bennofs ]; 27 }; 28}