mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove ocaml4.07-frontc.
* gnu/packages/ocaml.scm (ocaml4.07-frontc): Remove variable. (ocaml-frontc)[properties]: Remove variant. Change-Id: I52bf626af56d05e6230365825b944240cc523cdc
This commit is contained in:
parent
560a6c4962
commit
bbd0a46127
1 changed files with 1 additions and 41 deletions
|
@ -1638,8 +1638,7 @@ for speed and space economy.")
|
||||||
(for-each make-file-writable (find-files "." ".")))))))
|
(for-each make-file-writable (find-files "." ".")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ocaml-menhir ocaml-odoc))
|
(list ocaml-menhir ocaml-odoc))
|
||||||
(properties `((upstream-name . "FrontC")
|
(properties `((upstream-name . "FrontC")))
|
||||||
(ocaml4.07-variant . ,(delay ocaml4.07-frontc))))
|
|
||||||
(home-page "https://www.irit.fr/FrontC")
|
(home-page "https://www.irit.fr/FrontC")
|
||||||
(synopsis "C parser and lexer library")
|
(synopsis "C parser and lexer library")
|
||||||
(description "FrontC is an OCAML library providing a C parser and lexer.
|
(description "FrontC is an OCAML library providing a C parser and lexer.
|
||||||
|
@ -1648,45 +1647,6 @@ It provides support for ANSI C syntax, old-C K&R style syntax and the standard
|
||||||
GNU CC attributes. It provides also a C pretty printer as an example of use.")
|
GNU CC attributes. It provides also a C pretty printer as an example of use.")
|
||||||
(license license:lgpl2.1)))
|
(license license:lgpl2.1)))
|
||||||
|
|
||||||
(define-public ocaml4.07-frontc
|
|
||||||
(package-with-ocaml4.07
|
|
||||||
(package
|
|
||||||
(inherit ocaml-frontc)
|
|
||||||
(version "3.4.2")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/mirage/ocaml-base64")
|
|
||||||
(commit (string-append
|
|
||||||
"V_" (string-join (string-split version #\.) "_")))))
|
|
||||||
(file-name (git-file-name "ocaml-frontc" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0k7jk9hkglnkk27s62xl493jyqc017gyvwqb1lyc0ywbb001s102"))))
|
|
||||||
(build-system ocaml-build-system)
|
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(add-after 'install 'install-meta
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(with-output-to-file
|
|
||||||
(string-append out "/lib/ocaml/frontc/META")
|
|
||||||
(lambda _
|
|
||||||
(display
|
|
||||||
(string-append
|
|
||||||
"description = \"Parser for the C language\"
|
|
||||||
version = \"" ,version "\"
|
|
||||||
requires = \"unix\"
|
|
||||||
archive(byte) = \"frontc.cma\"
|
|
||||||
archive(native) = \"frontc.cmxa\""))))
|
|
||||||
(symlink (string-append out "/lib/ocaml/frontc")
|
|
||||||
(string-append out "/lib/ocaml/FrontC"))))))
|
|
||||||
#:make-flags ,#~(list (string-append "PREFIX=" #$output)
|
|
||||||
"OCAML_SITE=$(LIB_DIR)/ocaml/")))
|
|
||||||
(properties '()))))
|
|
||||||
|
|
||||||
(define-public ocaml-qcheck
|
(define-public ocaml-qcheck
|
||||||
(package
|
(package
|
||||||
(name "ocaml-qcheck")
|
(name "ocaml-qcheck")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue