biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / ocamlfuse / default.nix
blob8607a2a50344d5cad4f28f7b6b63e31616e697df
1 { lib, buildDunePackage, fetchFromGitHub, camlidl, fuse, dune-configurator }:
3 buildDunePackage rec {
4   pname = "ocamlfuse";
5   version = "2.7.1_cvs9";
7   src = fetchFromGitHub {
8     owner = "astrada";
9     repo = "ocamlfuse";
10     rev = "v${version}";
11     hash = "sha256-cOObHUAYiI2mN1qjsxcK6kHAmawuaGQOUNHqWioIvjM=";
12   };
14   postPatch = ''
15     substituteInPlace lib/Fuse_main.c \
16       --replace-warn "<fuse_lowlevel.h>" "<fuse/fuse_lowlevel.h>"
17   '';
19   nativeBuildInputs = [ camlidl ];
20   buildInputs = [ dune-configurator ];
21   propagatedBuildInputs = [ camlidl fuse ];
23   meta = {
24     homepage = "https://sourceforge.net/projects/ocamlfuse";
25     description = "OCaml bindings for FUSE";
26     license = lib.licenses.gpl2;
27     platforms = lib.platforms.linux;
28     maintainers = with lib.maintainers; [ bennofs ];
29   };