Files
Tom Herbers a7b46a9bd9 wordpressPackages.themes.geist: drop
Building the theme fails now for a while.
2025-11-08 14:07:33 +01:00

43 lines
1.0 KiB
Nix

{
fetchzip,
stdenv,
lib,
}:
{
plugins.civicrm = stdenv.mkDerivation rec {
pname = "civicrm";
version = "6.2.0";
src = fetchzip {
inherit version;
name = pname;
url = "https://download.civicrm.org/${pname}-${version}-wordpress.zip";
hash = "sha256-Bx1rixRbqJsiMrIIkzTGeqLIc5raiNoUVTsoxZ6q9uU=";
};
installPhase = ''
runHook preInstall
cp -r ./ -T $out
runHook postInstall
'';
meta.license = lib.licenses.agpl3Only;
};
themes = {
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;
};
};
}