summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/fuse3/default.nix
blob: 836ccb01cc1bc3ca5d33d1bc95f7e0e380251339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  camlidl,
  dune-configurator,
  pkg-config,
  fuse3,
}:

buildDunePackage (finalAttrs: {
  pname = "fuse3";
  version = "3.10.0";

  src = fetchFromGitHub {
    owner = "astrada";
    repo = "ocamlfuse";
    tag = "v${finalAttrs.version}";
    hash = "sha256-xy3Jf4GTQP3vM6vRxBAeOIASWRuoNdlbt91eCco2zMg=";
  };

  nativeBuildInputs = [
    camlidl
    pkg-config
  ];

  buildInputs = [ dune-configurator ];

  propagatedBuildInputs = [
    camlidl
    fuse3
  ];

  meta = {
    description = "OCaml bindings for libfuse 3";
    homepage = "https://github.com/astrada/ocamlfuse/";
    platforms = lib.platforms.linux;
    license = lib.licenses.gpl2Plus;
  };
})