wigust-php.scm 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages wigust-php)
  19. #:use-module (gnu packages)
  20. #:use-module (gnu packages algebra)
  21. #:use-module (gnu packages aspell)
  22. #:use-module (gnu packages base)
  23. #:use-module (gnu packages bison)
  24. #:use-module (gnu packages compression)
  25. #:use-module (gnu packages curl)
  26. #:use-module (gnu packages cyrus-sasl)
  27. #:use-module (gnu packages databases)
  28. #:use-module (gnu packages fontutils)
  29. #:use-module (gnu packages gd)
  30. #:use-module (gnu packages gettext)
  31. #:use-module (gnu packages glib)
  32. #:use-module (gnu packages gnupg)
  33. #:use-module (gnu packages image)
  34. #:use-module (gnu packages linux)
  35. #:use-module (gnu packages multiprecision)
  36. #:use-module (gnu packages openldap)
  37. #:use-module (gnu packages pcre)
  38. #:use-module (gnu packages pkg-config)
  39. #:use-module (gnu packages readline)
  40. #:use-module (gnu packages textutils)
  41. #:use-module (gnu packages tls)
  42. #:use-module (gnu packages web)
  43. #:use-module (gnu packages xml)
  44. #:use-module (gnu packages xorg)
  45. #:use-module (gnu packages php)
  46. #:use-module (guix packages)
  47. #:use-module (guix download)
  48. #:use-module (guix build-system gnu)
  49. #:use-module (guix utils)
  50. #:use-module ((guix licenses) #:prefix license:))
  51. (define-public php-with-bcmath
  52. (package
  53. (inherit php)
  54. (name "php-with-bcmath")
  55. (arguments
  56. (substitute-keyword-arguments (package-arguments php)
  57. ((#:configure-flags flags)
  58. `(cons "--enable-bcmath" ,flags))))))