guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#35633] [PATCH] gnu: Add dolibarr.


From: swedebugia
Subject: [bug#35633] [PATCH] gnu: Add dolibarr.
Date: Wed, 8 May 2019 15:27:17 +0200

From 6250680633cec1752519c37301890d71fe56e874 Mon Sep 17 00:00:00 2001
From: swedebugia <address@hidden>
Date: Wed, 8 May 2019 15:03:51 +0200
Subject: [PATCH] gnu: Add dolibarr.

* gnu/packages/web.scm (dolibarr): New public variable.
---
 gnu/packages/web.scm | 71 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 52cc91a168..756b00237e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -109,6 +109,7 @@
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
+  #:use-module (gnu packages php)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -6547,3 +6548,73 @@ update an existing mirrored site, and resume interrupted downloads.

 HTTrack is fully configurable, and has an integrated help system.")
     (license license:gpl3+)))
+
+(define-public dolibarr
+  (package
+    (name "dolibarr")
+    (version "9.0.2")
+    (source (origin
+              (method url-fetch)
+ (uri (string-append "mirror://sourceforge/" name "/Dolibarr ERP-CRM/"
+                                  version "/" name "-" version ".tgz"))
+              (sha256
+               (base32
+                "0505r6q84b0q7qx0fxcp0rklm2kw3d4qakwmlcgi0a3d04qzdvg6"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; No configure, build or tests
+         (delete 'configure)
+         (delete 'build)
+         (delete 'check)
+         (replace 'install
+           ;; There's no ‘install’ target.  Install files manually.
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out     (assoc-ref outputs "out"))
+                    (dol     (string-append out "/lib/" ,name))
+                    (htdocs "htdocs"))
+               (copy-recursively htdocs (string-append dol "/" htdocs))
+               #t))))))
+    (inputs
+     `(("php" ,php)
+       ("mariadb" ,mariadb)))
+    (home-page "https://www.dolibarr.org/";)
+    (synopsis "Enterprise ressource planner with a web interface")
+    (description "Dolibarr supports multi-currency and multiple users with
+detailed permissions management. It supports different tax systems and has a
+lot of modules to extend functionality.  It has triggers and hooks and is
+easily extensible using a module builder.
+
+Features enabled by modules:
address@hidden
address@hidden Customers, Prospects or Suppliers directory
address@hidden Products and services catalog
address@hidden Stock management
address@hidden Bank accounts management
address@hidden Commercial actions management
address@hidden Orders management
address@hidden Commercial proposals management
address@hidden Contracts management
address@hidden Invoices management
address@hidden Payments management
address@hidden Standing orders management
address@hidden Shipping management
address@hidden Expense report management
address@hidden Following social and fiscal tax payments
address@hidden Double entry accounting, general and auxiliary accounting.
address@hidden Agenda with ical,vcal export for third tools integration
address@hidden EDM (Electronic Document Management)
address@hidden Foundations member management
address@hidden Leave requests for employees
address@hidden Mass emailing
address@hidden Realize surveys
address@hidden Point of Sale
address@hidden Donations management
address@hidden Reporting
address@hidden PDF Generation of all elements (invoices, proposals, orders, ...)
address@hidden Import and export tools (CSV or Excel)
address@hidden Bookmarks management
address@hidden LDAP connectivity
address@hidden itemize")
+    (license license:gpl3+)))
--
2.19.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]