From af484128b9fb0ac7dde3ab10c92ca768df766572 Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Thu, 20 Jul 2023 20:51:42 -0500 Subject: [PATCH] _9ptls: init at 1.6.4 --- pkgs/os-specific/linux/9ptls/default.nix | 28 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/os-specific/linux/9ptls/default.nix diff --git a/pkgs/os-specific/linux/9ptls/default.nix b/pkgs/os-specific/linux/9ptls/default.nix new file mode 100644 index 000000000000..20fa779ecf61 --- /dev/null +++ b/pkgs/os-specific/linux/9ptls/default.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, tlsclient +}: + +stdenv.mkDerivation (finalAttrs: { + inherit (tlsclient) src version enableParallelBuilding; + pname = "9ptls"; + + strictDeps = true; + + buildFlags = [ "mount.9ptls" ]; + installFlags = [ "PREFIX=$(out)" "SBIN=$(out)/bin" ]; + installTargets = "mount.9ptls.install"; + + meta = with lib; { + description = "mount.9ptls mount helper"; + longDescription = '' + mount.9ptls wraps the v9fs mount type in a dp9ik authenticated + tls tunnel using tlsclient. + ''; + homepage = "https://git.sr.ht/~moody/tlsclient"; + license = licenses.mit; + maintainers = with maintainers; [ moody ]; + mainProgram = "mount.9ptls"; + platforms = platforms.linux; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 79c184430b18..a8315e4aa4cf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1385,6 +1385,8 @@ with pkgs; _9pfs = callPackage ../tools/filesystems/9pfs { }; + _9ptls = callPackage ../os-specific/linux/9ptls { }; + aaa = callPackage ../tools/misc/aaa { }; aardvark-dns = callPackage ../tools/networking/aardvark-dns { };