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

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

30 lines
748 B
Nix
Raw Normal View History

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