From 7e4138598b8b069705941a46ce21d96c0576b6ff Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 9 Feb 2024 22:38:54 +0100 Subject: [PATCH] pinecone: init at 0.11.0-unstable-2023-08-10 building release 0.11.0 is not possible with any golang version packaged currently, as such we use the latest commit from the main branch (this also fixes several security vulnerabilities). --- pkgs/by-name/pi/pinecone/package.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/by-name/pi/pinecone/package.nix diff --git a/pkgs/by-name/pi/pinecone/package.nix b/pkgs/by-name/pi/pinecone/package.nix new file mode 100644 index 000000000000..4bc503fff312 --- /dev/null +++ b/pkgs/by-name/pi/pinecone/package.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule { + pname = "pinecone"; + version = "0.11.0-unstable-2023-08-10"; + + src = fetchFromGitHub { + owner = "matrix-org"; + repo = "pinecone"; + rev = "ea4c33717fd74ef7d6f49490625a0fa10e3f5bbc"; + hash = "sha256-q4EFWXSkQJ2n+xAWuBxdP7nrtv3eFql9LoavWo10dfs="; + }; + + vendorHash = "sha256-+P10K7G0UwkbCGEi6sYTQSqO7LzIf/xmaHIr7v110Ao="; + + meta = with lib; { + description = "Peer-to-peer overlay routing for the Matrix ecosystem"; + homepage = "https://matrix-org.github.io/pinecone/"; + license = licenses.asl20; + maintainers = with maintainers; [ networkexception ]; + mainProgram = "pinecone"; + }; +}