depot/third_party/nixpkgs/pkgs/servers/eris-go/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
653 B
Nix

{ lib, buildGoModule, fetchFromGitea }:
buildGoModule rec {
pname = "eris-go";
version = "20230123";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eris";
repo = pname;
rev = version;
hash = "sha256-jdeh5lhbu2hxVNdnU0GiMsdXRi8004Xgu2/tgFhqPao=";
};
vendorHash = "sha256-mLyPaX5rDw0rR4PXtzpLMOrsYwTH3Y+COcrvwH7/qdo=";
postInstall = "ln -s $out/bin/eris-get $out/bin/eris-put";
# eris-get is a multicall binary
meta = src.meta // {
description = "Implementation of ERIS for Go";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ehmry ];
mainProgram = "eris-get";
};
}