1{ lib
2, stdenv
3, tlsclient
4}:
5
6stdenv.mkDerivation (finalAttrs: {
7 inherit (tlsclient) src version enableParallelBuilding;
8 pname = "9ptls";
9
10 strictDeps = true;
11
12 buildFlags = [ "mount.9ptls" ];
13 installFlags = [ "PREFIX=$(out)" "SBIN=$(out)/bin" ];
14 installTargets = "mount.9ptls.install";
15
16 meta = with lib; {
17 description = "mount.9ptls mount helper";
18 longDescription = ''
19 mount.9ptls wraps the v9fs mount type in a dp9ik authenticated
20 tls tunnel using tlsclient.
21 '';
22 homepage = "https://git.sr.ht/~moody/tlsclient";
23 license = licenses.mit;
24 maintainers = with maintainers; [ moody ];
25 mainProgram = "mount.9ptls";
26 platforms = platforms.linux;
27 };
28})