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

29 lines
719 B
Nix
Raw Normal View History

{ 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;
};
}