Merge pull request #209002 from urandom2/civicrm
wordpressPackages.plugins.civicrm: init at 5.56.0
This commit is contained in:
commit
876a6f4c94
|
@ -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 {})
|
||||
|
|
8
pkgs/servers/web-apps/wordpress/packages/thirdparty.nix
Normal file
8
pkgs/servers/web-apps/wordpress/packages/thirdparty.nix
Normal file
|
@ -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=";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue