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