Pure Erlang implementation of 9p2000 protocol
filesystem
fs
9p2000
erlang
9p
1# SPDX-FileCopyrightText: 2026 Łukasz Niemier <~@hauleth.dev>
2#
3# SPDX-License-Identifier: Apache-2.0
4
5{
6 inputs,
7
8 kamid,
9 autoreconfHook,
10 pkg-config,
11 bison,
12 stdenv,
13
14 lib
15}:
16
17kamid.overrideAttrs (old: {
18 version = "git";
19
20 src = inputs.kamid;
21
22 nativeBuildInputs = old.nativeBuildInputs ++ [
23 autoreconfHook
24 pkg-config
25 bison
26 ];
27
28 patches = lib.optionals stdenv.isDarwin [
29 ./macos.patch
30 ];
31
32 meta.package.platforms = old.meta.package.platforms ++ [
33 "aarch64-darwin"
34 ];
35})