diff --git a/packages/mediawiki-extensions/default.nix b/packages/mediawiki-extensions/default.nix index 72117b9f..b7195c8a 100644 --- a/packages/mediawiki-extensions/default.nix +++ b/packages/mediawiki-extensions/default.nix @@ -4,4 +4,5 @@ lib.makeScope pkgs.newScope (self: { PluggableAuth = self.callPackage ./pluggable-auth { }; SimpleSAMLphp = self.callPackage ./simple-saml-php { }; UserMerge = self.callPackage ./user-merge { }; + VisualEditor = self.callPackage ./visual-editor { }; }) diff --git a/packages/mediawiki-extensions/visual-editor/default.nix b/packages/mediawiki-extensions/visual-editor/default.nix new file mode 100644 index 00000000..cfb9a0c7 --- /dev/null +++ b/packages/mediawiki-extensions/visual-editor/default.nix @@ -0,0 +1,7 @@ +{ fetchzip }: + +fetchzip { + name = "mediawiki-visual-editor-source"; + url = "https://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_40-5f8c97e.tar.gz"; + hash = "sha256-oBMmEDKsFxrD0tpN2dy264IXK164BrZWrNK3v3FNX6w="; +}