all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob f24fb760deab03442c1a3078b5de1f8419b1a7f6 5598 bytes (raw)
name: gnu/packages/codesynthesis.scm 	 # note: path name is non-authoritative(*)

  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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
 
;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2020 Raghav Gururajan <rg@raghavgururajan.name>
;;;
;;; 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 codesynthesis)
  #:use-module (gnu packages)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages xml)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix utils)
  #:use-module (guix build utils)
  #:use-module (guix build-system gnu))

(define-public build
  (package
    (name "build")
    (version "0.3.10")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://www.codesynthesis.com/download/"
                           "build/" (version-major+minor version)
                           "/build-" version ".tar.bz2"))
       (sha256
        (base32 "1lx5rpnmsbip43zpp0a57sl5rm7pjb0y6i2si6rfglfp4p9d3z76"))))
    (build-system gnu-build-system)
    (arguments
     `(#:tests? #f                      ; No target
       #:make-flags
       (list
        (string-append "install_prefix=" (assoc-ref %outputs "out")))
       #:phases
       (modify-phases %standard-phases
         (delete 'configure)
         (delete 'build))))
    (synopsis "Software Build System")
    (description "@package{build} is a massively-parallel software build system
implemented on top of GNU make.")
    (home-page "https://www.codesynthesis.com/projects/libxsd-frontend/")
    (license license:gpl2+)))

(define-public libcutl
  (package
    (name "libcutl")
    (version "1.10.0")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://www.codesynthesis.com/download/libcutl/"
                           (version-major+minor version)
                           "/libcutl-" version ".tar.bz2"))
       (sha256
        (base32 "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j"))
       (modules '((guix build utils)))
       (snippet
        `(begin
           ;; Remove bundled sources.
           (with-directory-excursion "cutl/details"
             (for-each delete-file-recursively
                       ;; FIXME: Boost_RegEx isn't being detected.
                       (list
                        ;; "boost"
                        "expat")))
           #t))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
       (list
        "--disable-static"
        ;; "--with-external-boost"
        "--with-external-expat")))
    (native-inputs
     `(("pkg-config" ,pkg-config)))
    (inputs
     `(;; ("boost" ,boost)
       ("expat" ,expat)))
    (synopsis "C++ utility library")
    (description "@package{libcutl} is a C++ utility library.  It contains a
collection of generic and independent components such as meta-programming tests,
smart pointers, containers, compiler building blocks, etc.")
    (home-page "https://www.codesynthesis.com/projects/libcutl/")
    (license license:expat)))

(define-public libxsd-frontend
  (package
    (name "libxsd-frontend")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://www.codesynthesis.com/download/"
                           "libxsd-frontend/" (version-major+minor version)
                           "/libxsd-frontend-" version ".tar.bz2"))
       (sha256
        (base32 "1nmzchsvwvn66jpmcx18anzyl1a3l309x1ld4zllrg37ijc31fim"))))
    (build-system gnu-build-system)
    (arguments
     `(#:test-target "test"
       #:imported-modules
       ((guix build copy-build-system)
        ,@%gnu-build-system-modules)
       #:modules
       (((guix build copy-build-system)
         #:prefix copy:)
        (guix build gnu-build-system)
        (guix build utils))
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch
           (lambda _
             (substitute* (find-files "." "\\.make$")
               (("build-0\\.3")
                (string-append (assoc-ref %build-inputs "build") "/include/build-0.3")))
             #t))
         (delete 'configure)
         (replace 'install
           (lambda args
             (apply (assoc-ref copy:%standard-phases 'install)
                    #:install-plan
                    '(("xsd-frontend" "include/xsd-frontend"
                       #:include-regexp ("\\.?xx$"))
                      ("xsd-frontend" "lib"
                       #:include-regexp ("\\.so$")))
                    args))))))
    (native-inputs
     `(("build" ,build)
       ("pkg-config" ,pkg-config)))
    (inputs
     `(("libcutl" ,libcutl)
       ("libxerces-c" ,xerces-c)))
    (synopsis "XSD Front-end")
    (description "@package{libxsd-frontend} is a compiler frontend for the W3C
XML Schema definition language.  It includes a parser, semantic graph types and
a traversal mechanism.")
    (home-page "https://www.codesynthesis.com/projects/libxsd-frontend/")
    (license license:gpl2+)))

debug log:

solving f24fb760de ...
found f24fb760de in https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/ ||
	https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ ||
	https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ ||
	https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/
found a264692c19 in https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/ ||
	https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ ||
	https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ ||
	https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/
found 7cb9a427a5 in https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/ ||
	https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ ||
	https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ ||
	https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/

applying [1/3] https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/
diff --git a/gnu/packages/codesynthesis.scm b/gnu/packages/codesynthesis.scm
new file mode 100644
index 0000000000..7cb9a427a5

Checking patch gnu/packages/codesynthesis.scm...
Applied patch gnu/packages/codesynthesis.scm cleanly.

skipping https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ for 7cb9a427a5
skipping https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ for 7cb9a427a5
skipping https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/ for 7cb9a427a5
index at:
100644 7cb9a427a533f0b2b858ee8e1d87d418a7247e6c	gnu/packages/codesynthesis.scm

applying [2/3] https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/
diff --git a/gnu/packages/codesynthesis.scm b/gnu/packages/codesynthesis.scm
index 7cb9a427a5..a264692c19 100644

Checking patch gnu/packages/codesynthesis.scm...
Applied patch gnu/packages/codesynthesis.scm cleanly.

skipping https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ for a264692c19
skipping https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ for a264692c19
skipping https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/ for a264692c19
index at:
100644 a264692c191a2f81d2e0d77360e2164aeee0ab71	gnu/packages/codesynthesis.scm

applying [3/3] https://yhetil.org/guix/2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name/
diff --git a/gnu/packages/codesynthesis.scm b/gnu/packages/codesynthesis.scm
index a264692c19..f24fb760de 100644

Checking patch gnu/packages/codesynthesis.scm...
Applied patch gnu/packages/codesynthesis.scm cleanly.

skipping https://yhetil.org/guix/66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name/ for f24fb760de
skipping https://yhetil.org/guix/947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name/ for f24fb760de
skipping https://yhetil.org/guix/cf75f6a8-fd76-cb05-0a46-903de3e882f6@raghavgururajan.name/ for f24fb760de
index at:
100644 f24fb760deab03442c1a3078b5de1f8419b1a7f6	gnu/packages/codesynthesis.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.