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

27 lines
691 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-07-29 10:03:18 +00:00
version = "20230729";
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-07-29 10:03:18 +00:00
hash = "sha256-yFWmfWmlGL4fC36XsjO/ao/v8FVI20EpXSblZ0EcosI=";
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-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-01-11 23:07:53 +00:00
};
}