Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, camlidl, fuse, dune-configurator }:
2
3buildDunePackage rec {
4 pname = "ocamlfuse";
5 version = "2.7.1_cvs8";
6
7 src = fetchFromGitHub {
8 owner = "astrada";
9 repo = "ocamlfuse";
10 rev = "v${version}";
11 hash = "sha256-Cm9mdYzpKnYoNyAJvjJkiDBP/O4n1JiTkhXQO3w7+hA=";
12 };
13
14 nativeBuildInputs = [ camlidl ];
15 buildInputs = [ dune-configurator ];
16 propagatedBuildInputs = [ camlidl fuse ];
17
18 meta = {
19 homepage = "https://sourceforge.net/projects/ocamlfuse";
20 description = "OCaml bindings for FUSE";
21 license = lib.licenses.gpl2;
22 platforms = lib.platforms.linux;
23 maintainers = with lib.maintainers; [ bennofs ];
24 };
25}