civicrm init at 6.15.3 (#537513)

This commit is contained in:
Marek Fajkus
2026-07-21 14:40:51 +02:00
committed by GitHub
2 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
lib,
php,
fetchFromGitHub,
}:
php.buildComposerProject2 (finalAttrs: {
pname = "civicrm-core";
version = "6.15.3";
__structuredAttrs = true;
strictDeps = true;
dontUnpack = false;
src = fetchFromGitHub {
owner = "civicrm";
repo = "civicrm-core";
tag = finalAttrs.version;
hash = "sha256-BKiV2dZSFo5asnTwtnNsJrZKjFd9Ar3a3kaIlpuGDp8=";
};
vendorHash = "sha256-z4DyAupfGNxhEuGShZQA8bl6041od0Kx0/BAoz9uc5I=";
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -R . $out/
cp $out/bin/setup.conf.txt $out/bin/setup.conf
runHook postInstall
'';
meta = {
homepage = "https://civicrm.org/";
changelog = "https://download.civicrm.org/release/${finalAttrs.version}";
description = "Standalone version of CiviCRM, a CRM software for non-profit organizations";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.sorooris ];
mainProgram = "civicrm";
};
})

View File

@@ -0,0 +1,35 @@
{
lib,
php,
fetchFromGitHub,
}:
php.buildComposerProject2 (finalAttrs: {
pname = "cv";
version = "0.3.71";
__structuredAttrs = true;
strictDeps = true;
dontUnpack = false;
src = fetchFromGitHub {
owner = "civicrm";
repo = "cv";
rev = "v${finalAttrs.version}";
hash = "sha256-1InNm8ayshrACLUJ4MXb6DTnD9vxRVtwnK9oFAxMMho=";
};
vendorHash = "sha256-7+roKbgbSx00CrHDOwp7yxcSTdq9YDNgTLIdjLT05oM=";
installPhase = ''
runHook preInstall
cp -ra $src $out
runHook postInstall
'';
meta = {
homepage = "https://civicrm.org/";
changelog = "https://github.com/civicrm/cv/releases/tag/v${finalAttrs.version}";
description = "CiviCRM CLI Utility";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.sorooris ];
};
})