summary refs log tree commit diff
path: root/pkgs/servers/web-apps
diff options
context:
space:
mode:
authorTobias Stenzel <ts@flyingcircus.io>2021-09-29 00:07:12 +0200
committerTobias Stenzel <ts@flyingcircus.io>2021-10-26 23:24:09 +0200
commit1ef543a549ab4206c68ab3d05bce07ec9e178426 (patch)
tree3b8bb217bf5242ba4e42ac2bb12fe481fe9a4df6 /pkgs/servers/web-apps
parent7a5e666b12d045507165f5cdff7d9c3b578a0399 (diff)
downloadnixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar.gz
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar.bz2
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar.lz
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar.xz
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.tar.zst
nixpkgs-1ef543a549ab4206c68ab3d05bce07ec9e178426.zip
discourse.plugins.discourse-assign: Init
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r--pkgs/servers/web-apps/discourse/plugins/all-plugins.nix1
-rw-r--r--pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix17
-rwxr-xr-xpkgs/servers/web-apps/discourse/update.py1
3 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix b/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
index 947e0ff9196..35c4b5b3749 100644
--- a/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
+++ b/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
@@ -3,6 +3,7 @@ let
   callPackage = newScope args;
 in
 {
+  discourse-assign = callPackage ./discourse-assign {};
   discourse-calendar = callPackage ./discourse-calendar {};
   discourse-canned-replies = callPackage ./discourse-canned-replies {};
   discourse-checklist = callPackage ./discourse-checklist {};
diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix
new file mode 100644
index 00000000000..a514425c403
--- /dev/null
+++ b/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix
@@ -0,0 +1,17 @@
+{ lib, mkDiscoursePlugin, fetchFromGitHub }:
+
+mkDiscoursePlugin {
+  name = "discourse-assign";
+  src = fetchFromGitHub {
+    owner = "discourse";
+    repo = "discourse-assign";
+    rev = "5124ba0f67e26a075f0a0fc8993273f1211d1c28";
+    sha256 = "1zd2irp5siza0vd5rlwzmjfvcdfw785988jc526xc741flazk1lr";
+  };
+  meta = with lib; {
+    homepage = "https://github.com/discourse/discourse-docs";
+    maintainers = with maintainers; [ dpausp ];
+    license = licenses.mit;
+    description = "Discourse Plugin for assigning users to a topic";
+  };
+}
diff --git a/pkgs/servers/web-apps/discourse/update.py b/pkgs/servers/web-apps/discourse/update.py
index a207b0ebf31..ac61791e6c6 100755
--- a/pkgs/servers/web-apps/discourse/update.py
+++ b/pkgs/servers/web-apps/discourse/update.py
@@ -201,6 +201,7 @@ def update_plugins():
 
     """
     plugins = [
+        {'name': 'discourse-assign'},
         {'name': 'discourse-calendar'},
         {'name': 'discourse-canned-replies'},
         {'name': 'discourse-checklist'},