| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* guix/import/opam.scm (opam->guix-package): Use a default value for
`repository`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* guix/import/opam.scm (string-pat, multiline-string, list-pat)
(dict, condition): Export.
(opam-fetch): Add optional 'repository' parameter.
(opam->guix-package): Add #:repository parameter and pass it to
'opam-fetch'.
* tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass
TEST-REPO to 'opam->guix-package' instead.
("parse-strings", "parse-multiline-strings")
("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@',
which are no longer needed.
|
|
|
|
|
| |
* guix/import/opam.scm: Detect dune projects from dependencies, then
filter dune from dependencies.
|
|
|
|
| |
* guix/import/opam.scm: Allow line breaks in strings.
|
|
|
|
| |
* guix/import/opam.scm (opam->guix-package): Use propagated-inputs instead of inputs.
|
|
|
|
| |
* guix/import/opam.scm (opam-fetch): Remove initial "v" in some version numbers.
|
|
|
|
| |
* guix/import/opam.scm (opam->guix-package): Detect when dune can be used.
|
|
|
|
|
|
| |
* guix/import/opam.scm: Add more patterns to peg parser.
(choice-pat choice condition-not condition-paren): New patterns.
(ground-value condition-content condition-var): Update patterns.
|
|
|
|
|
| |
* guix/import/opam.scm (opam-package?): Also accept packages that use the
dune build system.
|
|
|
|
|
|
|
|
|
| |
janestreet reversionned its packages and prefixed them with "v". Let the
importer know about that and choose "v" versions first.
* guix/import/opam.scm (find-latest-version): Work around version
rewrite from janestreet.
(opam->guix-package): Do not pass "v" to version number.
|
|
|
|
|
|
| |
* guix/import/opam.scm (ocaml-name->guix-name): Replace "_" with "-".
(opam->guix-packages): Add upstream name when we cannot guess it
properly.
|
|
|
|
|
|
| |
* guix/import/opam.scm (condition-eq, condition-neq): The first argument
can be empty.
* tests/opam.scm: Add test case.
|
|
|
|
| |
* guix/import/opam.scm: Add comment support in parser.
|
|
|
|
| |
* guix/import/opam.scm (%opam-updater): New variable.
|
|
|
|
|
|
| |
* guix/script/import/opam.scm: Add recursive option.
* guix/import/opam.scm (opam->guix-package): return two values.
(opam-recursive-import): New variable.
|
|
|
|
|
| |
* guix/import/opam.scm: Update importer for opam 2.
* tests/opam.scm: Update tests for the opam 2 importer.
|
|
* guix/scripts/import.scm (importers): Add opam.
* guix/scripts/import/opam.scm: New file.
* guix/import/opam.scm: New file.
* tests/opam.scm: New file.
* Makefile.am: Add them.
* doc/guix.texi (Invoking guix import): Document it.
|