nixpkgs/pkgs/servers/go-libp2p-daemon/default.nix
2024-05-16 13:10:37 +00:00

28 lines
843 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-libp2p-daemon";
version = "0.6.1";
src = fetchFromGitHub {
owner = "libp2p";
repo = "go-libp2p-daemon";
rev = "v${version}";
hash = "sha256-XXg1qIACAHgK1/PltwuoNVYrsntfzo71g1dlq9V/FS4=";
};
vendorHash = "sha256-Kdxo0QsS7o9BjSG6qFrlCnqyZXhX6NkT/aUznGrm3xo=";
doCheck = false;
meta = with lib; {
# Won't build with Go >1.20 because of outdated quic-go dependency and interface mismatches on update.
# https://github.com/libp2p/go-libp2p-daemon/issues/291
broken = true;
description = "a libp2p-backed daemon wrapping the functionalities of go-libp2p for use in other languages";
homepage = "https://github.com/libp2p/go-libp2p-daemon";
license = licenses.mit;
maintainers = with maintainers; [ fare ];
};
}