aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gprolog.scm
blob: b27b080ca7879103a1bf433ee31996ab09ea9425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages gprolog)
  #:use-module (guix download)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix build-system gnu)
  #:use-module (srfi srfi-1))

(define-public gprolog
  (package
    (name "gprolog")
    (version "1.4.4")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "mirror://gnu/gprolog/gprolog-" version
                          ".tar.gz"))
      (sha256
       (base32
        "13miyas47bmijmadm68cbvb21n4s156gjafz7kfx9brk9djfkh0q"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
       (list (string-append
              "--with-install-dir=" %output "/share/gprolog"))
       #:phases
       (modify-phases %standard-phases
         (add-before 'configure 'change-dir-n-fix-shells
           (lambda _
             (chdir "src")
             (substitute* "configure"
               (("-/bin/sh")  (string-append "-"  (which "sh")))
               (("= /bin/sh") (string-append "= " (which "sh"))))
             #t)))))
    (home-page "https://www.gnu.org/software/gprolog/")
    (synopsis "Prolog compiler")
    (description
     "GNU Prolog is a standards-compliant Prolog compiler with constraint
solving over finite domains.  It accepts Prolog+ constraint programs and
produces a compiled, native binary which can function in a stand-alone
manner.  It also features an interactive interpreter.")
    (license (list gpl2+ lgpl3+))

    ;; See 'configure' for the list of supported architectures.
    (supported-systems (fold delete
                             %supported-systems
                             '("armhf-linux" "mips64el-linux")))))
0200'>2021-06-18gnu: curl@7.77.0: Provide a correct TLS priority string.Ludovic Courtès 2021-06-13gnu: curl: Absorb replacement.Marius Bakke 2021-06-06Merge branch 'master' into core-updatesMarius Bakke 2021-06-02gnu: curl: Update to 7.77.0 [fixes CVE-2021-{22897,22898,22901}].Leo Famulari 2021-05-09gnu: cURL: Update to 7.76.1.Marius Bakke 2021-04-16Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner 2021-04-02gnu: curl: Update to 7.76.0 [security fixes].Léo Le Bouter 2021-04-02gnu: curl: Update to 7.76.0 [security fixes].Léo Le Bouter 2021-03-24Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner 2021-03-11gnu: guile-curl: Update to 0.9.Xinglu Chen 2021-01-13Merge branch 'staging' into 'core-updates'.Maxim Cournoyer 2021-01-10Merge branch 'master' into stagingEfraim Flashner 2021-01-06gnu: Add guile2.2-curl.Leo Prikler 2021-01-06gnu: guile-curl: Update to 0.7.Leo Prikler 2021-01-05gnu: Add guile-jwt.Ricardo Wurmus 2020-12-17gnu: Remove 'curl-minimal'.Marius Bakke 2020-12-17gnu: cURL: Don't build with OpenLDAP.Marius Bakke 2020-12-13gnu: cURL: Remove graft for 7.74.0 and reinstate lost patch.Marius Bakke 2020-12-13Merge branch 'master' into ungraftingMarius Bakke 2020-12-13gnu: cURL: Update replacement to 7.74.0 [security fixes].Marius Bakke 2020-12-08gnu: cURL: Update to 7.73.0 [fixes CVE-2020-8231].Marius Bakke 2020-12-08gnu: curl: Update to 7.71.0 and remove replacement.Ludovic Courtès