about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/go-neb/default.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-05-15 03:42:15 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2020-05-28 20:55:26 +0200
commit766c3374454fc52be91212c3f67ddd3a06e3277b (patch)
treeff2eae1d0bdc6fa0027ab69caef7dea80911c77f /pkgs/applications/networking/instant-messengers/go-neb/default.nix
parentcfa07c9bf770d13eee31e1b8a2b7ce258d46d42d (diff)
go-neb: Init at unstable-2020-04-09
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/go-neb/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/go-neb/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/go-neb/default.nix b/pkgs/applications/networking/instant-messengers/go-neb/default.nix
new file mode 100644
index 0000000000000..a82e39647de02
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/go-neb/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule {
+  pname = "go-neb";
+  version = "unstable-2020-04-09";
+  src = fetchFromGitHub {
+    owner = "matrix-org";
+    repo = "go-neb";
+    rev = "1e297c50ad2938e511a3c86f4b190fd3fc3559d6";
+    sha256 = "1azwy4s4kmypps1fjbz76flpi1b7sjzjj4qwx94cry0hn3qfnrc6";
+  };
+
+  subPackages = [ "." ];
+
+  patches = [ ./go-mod.patch ];
+
+  vendorSha256 = "1k3980yf6zl00dkd1djwhm2f9nnffzrsbs3kq3alpw2gm0aln739";
+
+  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 ];
+  };
+}