2020-11-01 01:21:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
2023-07-05 02:51:14 +00:00
|
|
|
buildGoModule rec {
|
2020-11-01 01:21:55 +00:00
|
|
|
pname = "go-libp2p-daemon";
|
2024-05-29 13:17:35 +00:00
|
|
|
version = "0.8.0";
|
2020-11-01 01:21:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libp2p";
|
|
|
|
repo = "go-libp2p-daemon";
|
2023-07-05 02:51:14 +00:00
|
|
|
rev = "v${version}";
|
2024-05-29 13:17:35 +00:00
|
|
|
hash = "sha256-xKipt+nh7hFJHb9EmI0JZjBTuewfs82vOk1FC97sbAw=";
|
2020-11-01 01:21:55 +00:00
|
|
|
};
|
|
|
|
|
2024-05-29 13:17:35 +00:00
|
|
|
vendorHash = "sha256-60+JcyVV0uW+T0JZ/keyeYJNWrR3BhLInIgwbpoAe/Q=";
|
2020-11-01 01:21:55 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-03-11 17:32:47 +00:00
|
|
|
# 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;
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Libp2p-backed daemon wrapping the functionalities of go-libp2p for use in other languages";
|
2020-11-01 01:21:55 +00:00
|
|
|
homepage = "https://github.com/libp2p/go-libp2p-daemon";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fare ];
|
|
|
|
};
|
|
|
|
}
|