nixpkgs/pkgs/servers/go-libp2p-daemon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
843 B
Nix
Raw Normal View History

2020-11-01 04:21:55 +03:00
{ lib, buildGoModule, fetchFromGitHub }:
2023-07-05 05:51:14 +03:00
buildGoModule rec {
2020-11-01 04:21:55 +03:00
pname = "go-libp2p-daemon";
2023-07-05 05:51:14 +03:00
version = "0.5.0";
2020-11-01 04:21:55 +03:00
src = fetchFromGitHub {
owner = "libp2p";
repo = "go-libp2p-daemon";
2023-07-05 05:51:14 +03:00
rev = "v${version}";
hash = "sha256-3zlSD+9KnIOBlaE3gCTBGKwZY0rMW8lbb4b77BlJm/g=";
2020-11-01 04:21:55 +03:00
};
2023-07-05 05:51:14 +03:00
vendorHash = "sha256-8wrtPfuZ9X3cKjDeywht0d3p5lQouk6ZPO1PIjBz2Ro=";
2020-11-01 04:21:55 +03:00
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";
2020-11-01 04:21:55 +03:00
homepage = "https://github.com/libp2p/go-libp2p-daemon";
license = licenses.mit;
maintainers = with maintainers; [ fare ];
};
}