2021-06-22 09:20:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests, olm }:
|
2020-05-15 01:42:15 +00:00
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "go-neb";
|
2021-07-18 12:16:00 +00:00
|
|
|
version = "unstable-2021-07-21";
|
2020-05-15 01:42:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "go-neb";
|
2021-07-18 12:16:00 +00:00
|
|
|
rev = "8916c80f8ce1732f64b50f9251242ca189082e76";
|
|
|
|
sha256 = "sha256-kuH4vbvS4G1bczxUdY4bd4oL4pIZzuueUxdEp4xuzJM=";
|
2020-05-15 01:42:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-06-22 09:20:02 +00:00
|
|
|
buildInputs = [ olm ];
|
2020-05-15 01:42:15 +00:00
|
|
|
|
2021-07-18 12:16:00 +00:00
|
|
|
vendorSha256 = "sha256-5Vg7aUkqiFIQuxmsDOJjvXoeA5NjMoBoD0XBhC+o4GA=";
|
2020-05-15 01:42:15 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-02 00:16:59 +00:00
|
|
|
passthru.tests.go-neb = nixosTests.go-neb;
|
|
|
|
|
2020-05-15 01:42:15 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Extensible matrix bot written in Go";
|
|
|
|
homepage = "https://github.com/matrix-org/go-neb";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hexa maralorn ];
|
|
|
|
};
|
|
|
|
}
|