diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2023-01-04 11:06:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 11:06:43 +0100 |
commit | 876a6f4c94b951e98b3691ec6ad5a0be1d0247c5 (patch) | |
tree | f2979669850dbc3d352851cc8bf6df7a33c8e414 /pkgs/servers/web-apps | |
parent | a6c2d7b804d5f44f001304ea397928b1d4fd7ecb (diff) | |
parent | b2266ed09bad9c8688615be3f580b991629f7400 (diff) |
Merge pull request #209002 from urandom2/civicrm
wordpressPackages.plugins.civicrm: init at 5.56.0
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/wordpress/packages/default.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/web-apps/wordpress/packages/thirdparty.nix | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/servers/web-apps/wordpress/packages/default.nix b/pkgs/servers/web-apps/wordpress/packages/default.nix index d8968de20c397..715e9556bc7fd 100644 --- a/pkgs/servers/web-apps/wordpress/packages/default.nix +++ b/pkgs/servers/web-apps/wordpress/packages/default.nix @@ -2,7 +2,7 @@ # Licensed under: MIT # Slightly modified -{ lib, newScope, plugins, themes, languages }: +{ lib, newScope, plugins, themes, languages, callPackage }: let packages = self: let @@ -82,4 +82,4 @@ let packages = self: } // lib.mapAttrs (type: pkgs: lib.makeExtensible (_: lib.mapAttrs (pname: data: self.mkOfficialWordpressDerivation { type = lib.removeSuffix "s" type; inherit pname data; }) pkgs)) generatedJson; # This creates an extensible scope. -in (lib.makeExtensible (_: (lib.makeScope newScope packages))).extend (selfWP: superWP: {}) +in lib.recursiveUpdate ((lib.makeExtensible (_: (lib.makeScope newScope packages))).extend (selfWP: superWP: {})) (callPackage ./thirdparty.nix {}) diff --git a/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix b/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix new file mode 100644 index 0000000000000..19d23531f6b02 --- /dev/null +++ b/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix @@ -0,0 +1,8 @@ +{fetchzip}: { + plugins.civicrm = fetchzip rec { + name = "civicrm"; + version = "5.56.0"; + url = "https://storage.googleapis.com/${name}/${name}-stable/${version}/${name}-${version}-wordpress.zip"; + hash = "sha256-XsNFxVL0LF+OHlsqjjTV41x9ERLwMDq9BnKKP3Px2aI="; + }; +} |