nixpkgs/pkgs/servers/eris-go/default.nix

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

27 lines
653 B
Nix
Raw Normal View History

2023-01-11 23:07:53 +00:00
{ lib, buildGoModule, fetchFromGitea }:
buildGoModule rec {
pname = "eris-go";
2023-01-24 18:11:52 +00:00
version = "20230123";
2023-01-11 23:07:53 +00:00
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eris";
repo = pname;
rev = version;
2023-01-24 18:11:52 +00:00
hash = "sha256-jdeh5lhbu2hxVNdnU0GiMsdXRi8004Xgu2/tgFhqPao=";
2023-01-11 23:07:53 +00:00
};
2023-01-24 18:11:52 +00:00
vendorHash = "sha256-mLyPaX5rDw0rR4PXtzpLMOrsYwTH3Y+COcrvwH7/qdo=";
2023-01-11 23:07:53 +00:00
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";
};
}