Skip to content

Commit

Permalink
suitecrm: init at 7.10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Dec 3, 2018
1 parent 2a8a553 commit bda5724
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/servers/web-apps/suitecrm/default.nix
@@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
name = "suitecrm-${version}";
version = "7.10.10";

src = fetchFromGitHub {
owner = "salesagility";
repo = "SuiteCRM";
rev = "v${version}";
sha256 = "1acjn7ikm7ymlgp94h2kjnwcchwagdhrkb58klalypwvzzrjxcka";
};

installPhase = ''
runHook preInstall
dir=$out/share/suitecrm
mkdir -p $dir
cp -ra * $dir
find $dir -type f -exec chmod 0644 {} +
runHook postInstall
'';

meta = with stdenv.lib; {
description = "Open Source CRM for the world";
homepage = https://suitecrm.com;
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1237,6 +1237,8 @@ with pkgs;

fileshelter = callPackage ../servers/web-apps/fileshelter { };

suitecrm = callPackage ../servers/web-apps/suitecrm { };

fsmon = callPackage ../tools/misc/fsmon { };

fsql = callPackage ../tools/misc/fsql { };
Expand Down

0 comments on commit bda5724

Please sign in to comment.