mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
30 lines
748 B
Nix
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";
|
|
};
|
|
}
|