mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
civicrm init at 6.15.3 (#537513)
This commit is contained in:
38
pkgs/by-name/ci/civicrm/package.nix
Normal file
38
pkgs/by-name/ci/civicrm/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
35
pkgs/by-name/cv/cv/package.nix
Normal file
35
pkgs/by-name/cv/cv/package.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user