nixpkgs/pkgs/servers/eris-go/default.nix
2023-11-24 21:01:03 +01:00

30 lines
748 B
Nix

{ lib, stdenv, buildGoModule, fetchFromGitea, nixosTests }:
buildGoModule rec {
pname = "eris-go";
version = "20230914";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eris";
repo = "eris-go";
rev = version;
hash = "sha256-7aEsCQ+bZ//6Z+XXAEHgsAd61L+QgRl77+UtHr/BM1g=";
};
vendorHash = "sha256-Z6rirsiiBzH0herQAkxZp1Xr++489qNoiD4fqoLt9/A=";
skipNetworkTests = true;
passthru.tests = { inherit (nixosTests) eris-server; };
meta = src.meta // {
description = "Implementation of ERIS for Go";
homepage = "https://codeberg.org/eris/eris-go";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ehmry ];
broken = stdenv.isDarwin;
mainProgram = "eris-go";
};
}