clan-core/pkgs/go-ssb/default.nix

35 lines
688 B
Nix
Raw Normal View History

2024-03-17 18:48:49 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
2023-07-11 15:19:24 +00:00
}:
buildGoModule rec {
pname = "go-ssb";
version = "0.2.1";
src = fetchFromGitHub {
owner = "ssbc";
repo = "go-ssb";
#rev = "v${version}";
rev = "d6db27d1852d5edff9c7e07d2a3419fe6b11a8db";
hash = "sha256-SewaIDNVrODWGxdvJjIg4oTdfGy8THNMlgv48KX8okE=";
};
vendorHash = "sha256-ZytuWFre7Cz6Qt01tLQoPEuNzDIyoC938OkdIrU8nZo=";
2024-03-17 18:48:49 +00:00
ldflags = [
"-s"
"-w"
];
2023-07-11 15:19:24 +00:00
# take very long
doCheck = false;
meta = with lib; {
description = "Go implementation of ssb (work in progress)";
homepage = "https://github.com/ssbc/go-ssb";
license = licenses.mit;
maintainers = with maintainers; [ ];
2023-07-11 15:19:24 +00:00
};
}