2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, camlidl, fuse, dune-configurator }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocamlfuse";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "2.7.1_cvs9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = "ocamlfuse";
|
2022-03-30 09:31:56 +00:00
|
|
|
rev = "v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-cOObHUAYiI2mN1qjsxcK6kHAmawuaGQOUNHqWioIvjM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace lib/Fuse_main.c \
|
|
|
|
--replace-warn "<fuse_lowlevel.h>" "<fuse/fuse_lowlevel.h>"
|
|
|
|
'';
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ camlidl ];
|
|
|
|
buildInputs = [ dune-configurator ];
|
2020-05-15 21:57:56 +00:00
|
|
|
propagatedBuildInputs = [ camlidl fuse ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sourceforge.net/projects/ocamlfuse";
|
|
|
|
description = "OCaml bindings for FUSE";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ bennofs ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|