depot/third_party/nixpkgs/pkgs/servers/eris-go/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

27 lines
691 B
Nix

{ lib, stdenv, buildGoModule, fetchFromGitea }:
buildGoModule rec {
pname = "eris-go";
version = "20230202";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eris";
repo = pname;
rev = version;
hash = "sha256-o9FRlUtMk1h8sR+am2gNEQOMgAceRTdRusI4a6ikHUM=";
};
vendorHash = "sha256-ZDJm7ZlDBVWLnuC90pOwa608GnuEgy0N/I96vvesZPY=";
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";
broken = stdenv.isDarwin;
};
}