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