From 2dcfdcea300dfa1aced06bda2c231ee5e4d21904 Mon Sep 17 00:00:00 2001 From: nelind Date: Thu, 28 May 2026 21:21:45 +0200 Subject: [PATCH] tranquil-pds: init at 0.6.3 --- pkgs/by-name/tr/tranquil-pds/package.nix | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/tr/tranquil-pds/package.nix diff --git a/pkgs/by-name/tr/tranquil-pds/package.nix b/pkgs/by-name/tr/tranquil-pds/package.nix new file mode 100644 index 000000000000..8832b2768c8c --- /dev/null +++ b/pkgs/by-name/tr/tranquil-pds/package.nix @@ -0,0 +1,44 @@ +{ + lib, + fetchgit, + rustPlatform, + pkg-config, + openssl, + protobuf, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "tranquil-pds"; + version = "0.6.3"; + + src = fetchgit { + url = "https://tangled.org/tranquil.farm/tranquil-pds"; + tag = "v${finalAttrs.version}"; + hash = "sha256-TORNOFPlbCt4QWNd+bmxkShTUvT/5ynOj+UBYITAhg8="; + }; + + cargoHash = "sha256-tQk9WQZmaG2XEx5gocPhYd8fZ2cikvduhln5h/w+WZA="; + + __structuredAttrs = true; + + nativeBuildInputs = [ + pkg-config + protobuf + ]; + + buildInputs = [ + openssl + ]; + + # the tranquil test suite has shown itself virtually impossible to complete on most hardware thus stopping reviews. + # disable the check phase for now + doCheck = false; + + meta = { + description = "Tranquil ATProto Personal Data Server implementation written in Rust"; + homepage = "https://tangled.org/tranquil.farm/tranquil-pds"; + license = lib.licenses.agpl3Plus; + maintainers = with lib.maintainers; [ nelind ]; + mainProgram = "tranquil-server"; + }; +})