depot/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

44 lines
1.3 KiB
Nix

{fetchzip, stdenv, lib}: {
plugins.civicrm = stdenv.mkDerivation rec {
pname = "civicrm";
version = "5.56.0";
src = fetchzip {
inherit version;
name = pname;
url = "https://storage.googleapis.com/${pname}/${pname}-stable/${version}/${pname}-${version}-wordpress.zip";
hash = "sha256-XsNFxVL0LF+OHlsqjjTV41x9ERLwMDq9BnKKP3Px2aI=";
};
meta.license = lib.licenses.agpl3Only;
};
themes = {
geist = stdenv.mkDerivation rec {
pname = "geist";
version = "2.0.3";
src = fetchzip {
inherit version;
name = pname;
url = "https://github.com/christophery/geist/archive/refs/tags/${version}.zip";
hash = "sha256-c85oRhqu5E5IJlpgqKJRQITur1W7x40obOvHZbPevzU=";
};
meta.license = lib.licenses.gpl2Only;
};
proton = stdenv.mkDerivation rec {
pname = "proton";
version = "1.0.1";
src = fetchzip {
inherit version;
name = pname;
url = "https://github.com/christophery/proton/archive/refs/tags/${version}.zip";
hash = "sha256-JgKyLJ3dRqh1uwlsNuffCOM7LPBigGkLVFqftjFAiP4=";
};
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r ./* $out/
runHook postInstall
'';
meta.license = lib.licenses.mit;
};
};
}