aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ada.scm
blob: a8c2bdc9a9b3b5e73c6f429c259cf11d1233b053 (about) (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.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 ada)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system python)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (gnu packages)
  #:use-module (gnu packages check)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-xyz))

(define-public python2-langkit
  (let ((commit "fe0bc8bf60dbd2937759810df76ac420d99fc15f")
        (revision "0"))
    (package
      (name "python2-langkit")
      (version (git-version "0.0.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://github.com/AdaCore/langkit.git")
                      (commit commit)))
                (sha256
                 (base32
                  "1abqgw2p8pb1pm54my5kkbbixfhc6l0bwajdv1xlzyrh31xki3wx"))
                (file-name (string-append name "-" version "-checkout"))))
      (build-system python-build-system)
      (propagated-inputs
       `(("python2-docutils" ,python2-docutils)
         ("python2-enum34" ,python2-enum34)
         ("python2-funcy" ,python2-funcy)
         ("python2-mako" ,python2-mako)))
      (arguments
       `(#:python ,python-2
         #:tests? #f))           ; Tests would requite gprbuild (Ada).
      (synopsis "Semantic analysis tool generator in Python")
      (description "@code{Langkit} is a tool whose purpose is to make it easy
to create syntactic and semantic analysis engines.  Write a language
specification in our Python DSL and Langkit will generate for you an
Ada library with bindings for the C and Python programming languages.")
      (home-page "https://github.com/AdaCore/langkit/")
      (license license:gpl3+))))   ; and gcc runtime library exception

(define-public python2-libadalang
  (let ((commit "9b205e9bacdd50a68117727332e16fbef5f6ac49")
        (revision "0"))
    (package
      (name "python2-libadalang")
      (version (git-version "0.0.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://github.com/AdaCore/libadalang.git")
                      (commit commit)))
                (sha256
                 (base32
                  "06hsnzj2syqpq2yhg1bb0zil7ydbyqkdmkjbf8j9b5sdgkyh5xrp"))
                (file-name (string-append name "-" version "-checkout"))))
      (build-system python-build-system)
      (native-inputs
       `(("python2-langkit" ,python2-langkit)
         ("python2-quex" ,python2-quex-0.67.3)))
      (arguments
       `(#:python ,python-2
         #:phases
         (modify-phases %standard-phases
           (replace 'build
             (lambda _
               (invoke "python2" "ada/manage.py" "generate")
               (invoke "python2" "ada/manage.py" "build")))
           (replace 'check
             (lambda _
               (invoke "python2" "ada/manage.py" "test")))
           (replace 'install
             (lambda* (#:key outputs #:allow-other-keys)
               (let* ((out (assoc-ref outputs "out")))
                 (invoke "python2" "ada/manage.py" "install" out)))))))
      (synopsis "Semantic Analysis for Ada in Python")
      (description "@code{libadalang} provides a high-performance semantic
engine for the Ada programming language.")
      (home-page "https://github.com/AdaCore/libadalang")
      (license license:gpl3)))) ; and gcc runtime gcc lib exception
nd Guile memory issues....Work around <https://issues.guix.gnu.org/43334>. * gnu/packages/ci.scm (cuirass)[inputs]: Use guile-3.0/libgc-7 instead of guile-3.0. Mathieu Othacehe 2020-09-17gnu: cuirass: Update to 0.0.1-46.89f0dbc....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-46.89f0dbc. Mathieu Othacehe 2020-09-14gnu: cuirass: Update to 0.0.1-45.cf11b73....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-45.cf11b73. Mathieu Othacehe 2020-09-10gnu: cuirass: Update to 0.0.1-44.00c7b4b....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-44.00c7b4b. Mathieu Othacehe 2020-08-25gnu: cuirass: Update to 0.0.1-43.f2984c7....Cuirass now depends of "guile-zlib" instead of Guix zlib module. * gnu/packages/ci.scm (cuirass): Update to 0.0.1-43.f2984c7, [inputs]: add "guile-zlib" ... [arguments]: ... and add it to the dependencies. Mathieu Othacehe 2020-08-02gnu: cuirass: Update to 0.0.1-42.d332955....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-42.d332955. Mathieu Othacehe 2020-08-02gnu: cuirass: Update to 0.0.1-41.614ea05....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-41.614ea05. Mathieu Othacehe 2020-08-01gnu: cuirass: Update to 0.0.1-40.153b49c....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-40.153b49c. Mathieu Othacehe 2020-07-30gnu: cuirass: Update to 0.0.1-39.0955a11....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-39.0955a11. Mathieu Othacehe 2020-07-02gnu: cuirass: Update to 0.0.1-38.136a829....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-38.136a829. Mathieu Othacehe 2020-06-30gnu: cuirass: Update to 0.0.1-37.882393d....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-37.882393d. Mathieu Othacehe 2020-06-30gnu: cuirass: Update to 0.0.1-36.4dd9664....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-36.4dd9664. Mathieu Othacehe 2020-06-26gnu: cuirass: Update to 0.0.1-35.91204d....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-35.91204d. Mathieu Othacehe 2020-06-25gnu: guix: Build with Guile 3.0.4....Since Guile 3.0.4 bytecode is not readable by 3.0.2, build the dependents of 'guix' with 3.0.4 as well. * gnu/packages/package-management.scm (guix)[inputs, native-inputs]: Use GUILE-3.0-LATEST. (gwl, guix-jupyter): Likewise. * gnu/packages/web.scm (hpcguix-web): Likewise. * gnu/packages/ci.scm (cuirass): Likewise. * gnu/packages/emacs-xyz.scm (emacs-guix): Likewise. Ludovic Courtès 2020-06-23gnu: cuirass: Update to 0.0.1-34.10b16e....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-34.10b16e. Mathieu Othacehe 2020-06-22gnu: cuirass: Update to 0.0.1-33-61cc56f6....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-33-61cc56f6. Mathieu Othacehe 2020-06-15gnu: cuirass: Update to 0.0.1-32.3db603c....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-32.3db603c. Mathieu Othacehe 2020-06-10gnu: cuirass: Update to 0.0.1-2280ae18....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-2280ae18. Mathieu Othacehe 2020-06-02gnu: guix, guix-jupyter, cuirass, hpcguix-web: Use Guile-JSON 4.0....* gnu/packages/package-management.scm (guix)[native-inputs] [propagated-inputs]: Use GUILE-JSON-4 instead of GUILE-JSON-3. * gnu/packages/ci.scm (cuirass)[inputs]: Likewise. * gnu/packages/package-management.scm (guix-jupyter)[propagated-inputs]: Likewise. * gnu/packages/web.scm (hpcguix-web)[propagated-inputs]: Likewise. Ludovic Courtès 2020-05-12gnu: cuirass: Update to 0.0.1-30.9559fd1....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-30.9559fd1. Ricardo Wurmus 2020-04-19Merge branch 'master' into core-updatesMarius Bakke 2020-04-15gnu: cuirass: Update to 0.0.1-29.27af1d3....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-29.27af1d3. [version]: Use git-version. [file-name]: Use git-file-name. Ricardo Wurmus 2020-03-16gnu: Default to Guile 3.0....This patch changes three things: 1. package derivations are built using Guile 3.0; 2. 'gexp->derivation' defaults to Guile 3.0; 3. "guile3.0-" packages are deprecated aliases for the regular package, which now depends on Guile 3.0; "guile2.2-" packages are introduced; "guile-next" is renamed to "guile". * gnu/packages/guile.scm (guile-2.0/fixed): Remove. (guile-3.0/fixed): New variable. (package-for-guile-3.0): Remove. (package-for-guile-2.2): New variable. (define-deprecated-guile3.0-package): New macro. (guile-3.0)[name]: Change to "guile". (guile-json-3)[native-inputs, inputs]: New fields. (guile2.2-json): New variable. (guile3.0-json): Deprecate. (guile-gdbm-ffi)[native-inputs]: Switch to GUILE-3.0. (guile2.2-gdbm-ffi): New variable. (guile3.0-gdbm-ffi): Deprecate. (guile-sqlite3): Switch to GUILE-3.0. (guile2.2-sqlite3): New variable. (guile3.0-sqlite3): Deprecate. (guile-bytestructures): Switch to GUILE-3.0. (guile2.2-bytestructures): New variable. (guile3.0-bytestructures): Deprecate. (guile-git): Switch to GUILE-3.0. (guile2.2-git): New variable. (guile3.0-git): Deprecate. (guile-2.2/bug-fix): * gnu/packages/ci.scm (cuirass): Switch to GUILE-3.0. * gnu/packages/emacs-xyz.scm (emacs-guix): Switch to GUILE-3.0. * gnu/packages/gtk.scm (guile-cairo)[arguments]: New field. Switch to GUILE-3.0. (guile2.2-cairo): New variable. (guile3.0-cairo): Deprecate. (guile-rsvg): Switch to GUILE-3.0. (guile2.2-cairo): New variable. (guile3.0-cairo): Deprecate. (guile-present): Switch to GUILE-3.0. (guile2.2-present): New variable. (guile3.0-present): Deprecate. (guile-gnome)[propagated-inputs]: Use GUILE2.2-CAIRO and GUILE2.2-LIB. * gnu/packages/guile-xyz.scm (guile-fibers)[arguments]: Add #:configure-flags. Switch to GUILE-3.0. (guile2.2-fibers): New variable. (guile3.0-fibers): Deprecate. (guile-syntax-highlight): Switch to GUILE-3.0. (guile2.2-syntax-highlight): New variable. (guile3.0-syntax-highlight): Deprecate. (guile-colorized): Switch to GUILE-3.0. (guile2.2-colorized): New variable. (guile3.0-colorized): Deprecate. (guile-pfds): Switch to GUILE-3.0. (guile2.2-pfds): New variable. (guile3.0-pfds): Deprecate. (guile-simple-zmq): Switch to GUILE-3.0. (guile2.2-simple-zmq): New variable. (guile3.0-simple-zmq): Deprecate. (guile-newt): Switch to GUILE-3.0. (guile2.2-newt): New variable. (guile3.0-newt): Deprecate. (guile-parted): Switch to GUILE-3.0. (guile2.2-parted): New variable. (guile3.0-parted): Deprecate. (guile-config): Switch to GUILE-3.0. (guile2.2-config): New variable. (guile3.0-config): Deprecate. (guile-hall): Switch to GUILE-3.0. (guile2.2-hall): New variable. (guile3.0-hall): Deprecate. (guile-ics): Switch to GUILE-3.0. (guile2.2-ics): New variable. (guile3.0-ics): Deprecate. (guile-wisp)[arguments]: Add 'support-guile-3.0' phase. Switch to GUILE-3.0. (guile2.2-wisp): New variable. (guile3.0-wisp): Deprecate. (guile-lib): Switch to GUILE-3.0. (guile2.2-lib): New variable. (guile3.0-lib): Deprecate. (guile-minikanren): Switch to GUILE-3.0. (guile2.2-minikanren): New variable. (guile3.0-minikanren): Deprecate. (guile-irregex): Switch to GUILE-3.0. (guile2.2-irregex): New variable. (guile3.0-irregex): Deprecate. (haunt): Switch to GUILE-3.0, and remove GUILE-READER. (guile2.2-haunt): New variable. (guile3.0-haunt): Deprecate. (guile-commonmark): Switch to GUILE-3.0. (guile2.2-commonmark): New variable. (guile3.0-commonmark): Deprecate. (mcron): Switch to GUILE-3.0. (guile2.0-mcron): New variable. (guile3.0-mcron): Deprecate. (guile-picture-language): Switch to GUILE-3.0. (guile2.2-picture-language): New variable. (guile3.0-picture-language): Deprecate. (guile-gi): Switch to GUILE-3.0. (guile2.2-gi): New variable. (guile3.0-gi): Deprecate. (guile-hashing): Switch to GUILE-3.0. (guile2.2-hashing): New variable. (guile3.0-hashing): Deprecate. * gnu/packages/package-management.scm (guix): Switch to GUILE-3.0. (guile2.2-guix): New variable. (guile3.0-guix): Deprecate. (gwl): Replace "guile3.0-" with "guile-". (guix-jupyter)[source]: Adjust for Guile 3.0. Switch to GUILE-3.0. * gnu/packages/ssh.scm (guile-ssh): Switch to GUILE-3.0. (guile2.2-ssh): New variable. (guile3.0-ssh): Deprecate. * gnu/packages/admin.scm (shepherd): Switch to GUILE-3.0. (guile2.2-shepherd): New variable. (guile3.0-shepherd): Deprecate. * gnu/packages/mail.scm (mailutils): Switch to GUILE-3.0. (guile2.2-mailutils): New variable. (guile3.0-mailutils): Deprecate. * gnu/packages/plotutils.scm (guile-charting): Switch to GUILE-3.0. (guile2.2-charting): New variable. (guile3.0-charting): Deprecate. * gnu/packages/version-control.scm (libgit2): Switch to GUILE-3.0. * gnu/packages/vpn.scm (vpnc-scripts): Switch to GUILE-3.0. * gnu/packages/web.scm (guix-data-service): Switch to GUILE-3.0. (hpcguix-web): Switch to GUILE-3.0. * guix/self.scm (specification->package): Refer to the "guile-" variants instead of "guile3.0-". * guix/gexp.scm (default-guile): Change to GUILE-3.0. * build-aux/build-self.scm (build): #:guile-version defaults to "3.0". * gnu/packages/commencement.scm (guile-final): Base on GUILE-3.0/FIXED. Ludovic Courtès 2020-01-25gnu: cuirass: Update to 0.0.1-28.b9031db....* gnu/packages/ci.scm (cuirass): Update to 0.0.1-28.b9031db. Christopher Baines