2021-06-22 10:20:02 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests, olm }:
|
2020-05-15 02:42:15 +01:00
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "go-neb";
|
2021-07-18 13:16:00 +01:00
|
|
|
version = "unstable-2021-07-21";
|
2020-05-15 02:42:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "go-neb";
|
2021-07-18 13:16:00 +01:00
|
|
|
rev = "8916c80f8ce1732f64b50f9251242ca189082e76";
|
|
|
|
sha256 = "sha256-kuH4vbvS4G1bczxUdY4bd4oL4pIZzuueUxdEp4xuzJM=";
|
2020-05-15 02:42:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-06-22 10:20:02 +01:00
|
|
|
buildInputs = [ olm ];
|
2020-05-15 02:42:15 +01:00
|
|
|
|
2021-07-18 13:16:00 +01:00
|
|
|
vendorSha256 = "sha256-5Vg7aUkqiFIQuxmsDOJjvXoeA5NjMoBoD0XBhC+o4GA=";
|
2020-05-15 02:42:15 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-02 01:16:59 +01:00
|
|
|
passthru.tests.go-neb = nixosTests.go-neb;
|
|
|
|
|
2020-05-15 02:42:15 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|