depot/third_party/nixpkgs/pkgs/servers/go-libp2p-daemon/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
841 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-libp2p-daemon";
version = "0.8.0";
src = fetchFromGitHub {
owner = "libp2p";
repo = "go-libp2p-daemon";
rev = "v${version}";
hash = "sha256-xKipt+nh7hFJHb9EmI0JZjBTuewfs82vOk1FC97sbAw=";
};
vendorHash = "sha256-60+JcyVV0uW+T0JZ/keyeYJNWrR3BhLInIgwbpoAe/Q=";
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 = "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 ];
};
}