summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2021-08-02 15:01:58 -0700
committertalyz <kim.lindberger@gmail.com>2021-08-17 23:12:28 +0200
commitd0064e3868cb8f19a2f4063776938dbf7e49159c (patch)
treef5aebc93f547d88258669edb716ffdc5aca21759
parentdiscourseAllPlugins: init discourse-checklist (diff)
downloadnixpkgs-d0064e3868cb8f19a2f4063776938dbf7e49159c.tar.gz
discourseAllPlugins: init discourse-data-explorer
(cherry picked from commit 601db31c264f3008c25f3fb13f1968a543a9cfe6)
-rw-r--r--pkgs/servers/web-apps/discourse/plugins/all-plugins.nix1
-rw-r--r--pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix17
2 files changed, 18 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 18a880063b99..cda5041ae3bd 100644
--- a/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
+++ b/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
@@ -5,6 +5,7 @@ in
{
discourse-canned-replies = callPackage ./discourse-canned-replies {};
discourse-checklist = callPackage ./discourse-checklist {};
+ discourse-data-explorer = callPackage ./discourse-data-explorer {};
discourse-github = callPackage ./discourse-github {};
discourse-math = callPackage ./discourse-math {};
discourse-solved = callPackage ./discourse-solved {};
diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix
new file mode 100644
index 000000000000..983c8b7fe83f
--- /dev/null
+++ b/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix
@@ -0,0 +1,17 @@
+{ lib, mkDiscoursePlugin, fetchFromGitHub }:
+
+mkDiscoursePlugin {
+ name = "discourse-data-explorer";
+ src = fetchFromGitHub {
+ owner = "discourse";
+ repo = "discourse-data-explorer";
+ rev = "7a348aaa8b2a6b3a75db72e99a7370a1a6fcb2b8";
+ sha256 = "sha256-4X0oor3dIKrQO5IrScQ9+DBr39R7PJJ8dg9UQseV6IU=";
+ };
+ meta = with lib; {
+ homepage = "https://github.com/discourse/discourse-data-explorer";
+ maintainers = with maintainers; [ ryantm ];
+ license = licenses.mit;
+ description = "SQL Queries for admins in Discourse";
+ };
+}