Age | Commit message (Collapse) | Author |
|
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.247.
(linux-libre-4.4-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.247.
(linux-libre-4.9-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.210.
(linux-libre-4.14-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.161.
(linux-libre-4.19-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.81.
(linux-libre-5.4-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-5.9-version): Update to 5.9.12.
(linux-libre-5.9-pristine-source): Update hash.
|
|
* gnu/packages/emacs-xyz.scm (emacs-telega): Update to 0.7.1.
|
|
* gnu/packages/messaging.scm (tdlib): Update to 1.7.0.
|
|
* gnu/packages/web.scm (monolith): New variable.
|
|
* gnu/packages/gnuzilla.scm (icedove): Update to 78.5.1.
|
|
If a package satisfying the dependency's semver requirement already exists,
use it. Prior to this change the highest version matching the semver
requirement was used (and imported in case it was not defined as package
already).
When resolving a dependency (now done in `sort-map-dependencies`), first
search for a package matching the semver requirement and only if this fails
reach out for a crate.
* guix/import/crate.scm (crate->guix-package)[find-package-version]: New
function. [dependency-name+version]: New function.
[sort-map-dependencies]: Use it instead of lambda function.
* tests/crate.scm (test-doctool-crate, test-doctool-dependencies): New
variables.
("self-test …", "cargo-recursive-import-hoors-existing-packages"): New
tests.
|
|
This complies to how versions are matched for caret requirements in crates:
An update is allowed if the new version number does not modify the left-most
non-zero digit in the major, minor, patch grouping.
* guix/import/crate.scm (version->semver-prefix): New function.
(make-crate-sexp)[format-inputs]: Use it.
(make-crate-sexp): Use it to pass shorter version to package->definition.
* guix/import/utils.scm (package->definition): Change optional parameter
APPEND-VERSION? into APPEND-VERSION?/STRING. If it is a string, append its
value to name.
* tests/crate.scm: Adjust tests accordingly.
|
|
This remove the patch version from generated package names. For example
'rust-my-crate-1.1.2' now becomes 'rust-my-crate-1.1'.
* guix/import/utils.scm (package->definition): Trim patch version from
generated package names.
* tests/crate.scm: (cargo>guix-package, cargo-recursive-import): Likewise.
|
|
The recursive crate importer will now include development dependencies only
for the top level package, but not for any of the recursively imported
packages. Also #:skip-build will be false for the top-most package.
* guix/import/crate.scm (make-crate-sexp): Add the key BUILD?.
(crate->guix-package): Add the key INCLUDE-DEV-DEPS?.
(crate-recursive-import): Likewise.
* guix/scripts/import/crate.scm (guix-import-crate): Likewise.
* tests/crate.scm (cargo-recursive-import): Likewise.
|
|
This adds memorization to procedures that involve network lookups.
'lookup-crate*' is used on every dependency of a package to get its version
list. It is also used to lookup a package's metadata. 'crate-recursive-import'
is also memorized since creating the same package twice will trigger a lookup
on its dependencies.
* guix/import/crate.scm (lookup-crate*): New procedure.
(crate->guix-package): Memorize package metadata lookups.
(crate-recursive-import): Memorize package creation.
|
|
* guix/import/crate.scm: Add guile-semver as a soft dependency.
(make-crate-sexp): Don't allow other keys. Add '#:skip-build?' to build
system args. Pass a VERSION argument to 'cargo-inputs'.
(crate->guix-package): Use guile-semver to resolve the correct module
versions. Treat "build" dependencies as normal dependencies.
(crate-name->package-name): Reuse the procedure 'guix-name' instead of
duplicating its logic.
* guix/import/utils.scm (package-names->package-inputs): Implement
handling of (name version) pairs.
* guix/scripts/import/crate.scm (guix-import-crate): Use
crate-recursive-import instead of duplicate code.
* tests/crate.scm (recursive-import): Change test packages versions to be
distinguishable. Add version data to the test. Check created symbols, too.
Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
|
|
This adds a key VERSION to 'recursive-import' and moves the parameter REPO to
a key. This also changes all the places that rely on 'recursive-import'.
* guix/import/utils.scm (recursive-import): Add the VERSION key. Make REPO a
key.
(package->definition): Add optional 'append-version?'.
* guix/scripts/import/crate.scm (guix-import-crate): Add the VERSION key.
* guix/import/crate.scm (crate->guix-package): Add the VERSION key.
(crate-recursive-import): Pass VERSION to recursive-import, remove now
unnecessary code.
* guix/import/cran.scm (cran->guix-package, cran-recursive-import): Change the
REPO parameter to a key.
* guix/import/elpa.scm (elpa->guix-package, elpa-recursive-import): Likewise.
* guix/import/gem.scm (gem->guix-package, recursive-import): Likewise.
* guix/import/opam.scm (opam-recurive-import): Likewise.
* guix/import/pypi.scm (pypi-recursive-import): Likewise.
* guix/import/stackage.scm (stackage-recursive-import): Likewise.
* guix/scripts/import/cran.scm (guix-import-cran): Likewise.
* guix/scripts/import/elpa.scm (guix-import-elpa): Likewise.
* tests/elpa.scm (eval-test-with-elpa): Likewise.
* tests/import-utils.scm (recursive-import): Likewise.
Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
|
|
* guix/self.scm (compiled-guix): Add guile-semver as a depenedency.
|
|
* gnu/packages/education.scm (snap): Update to 6.3.7.
|
|
* gnu/packages/crates-io.scm (rust-base64-0.13): Fix code typo.
|
|
* gnu/packages/sequoia.scm (sequoia): Update to 0.20.0. [cargo-inputs,
cargo-development-inputs] Update dependencies. [phases]{unpin-deps}: Adjust
path of file to substitute. {adjust-prefix} Rename to {fix-environment} and
set another envormnet variable. {keep-SOURCE_DATE_EPOCH}: New phase.
|
|
* gnu/packages/crates-io.scm (rust-rusqlite): Update to 0.24.
|
|
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.20): New variable,
skipping build.
(rust-libsqlite3-sys-0.15): Inherit from rust-libsqlite3-sys-0.20.
|
|
* gnu/packages/crates-io.scm (rust-hashbrown-0.9): New variable, skipping
build. (rust-hashbrown-0.8): Inherit from rust-hashbrown-0.9.
|
|
* gnu/packages/crates-io.scm (rust-hashlink-0.6): New variable.
|
|
* gnu/packages/crates-io.scm (rust-base64-0.13): New variable, skipping
build. (rust-base64-0.12): Inherit from rust-base64-0.13.
|
|
* gnu/packages/crates-io.scm(rust-bzip2-0.4): New variable, skipping
build. (rust-bzip2-0.3): Inherit from rust-bzip2-0.4.
|
|
* gnu/packages/crates-io.scm (rust-dyn-clone-1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-ed25519-dalek-1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-curve25519-dalek-3): New variable.
|
|
* gnu/packages/crates-io.scm (rust-ed25519-1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-signature-1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-signature-derive-1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-merlin-2): New variable.
|
|
* gnu/packages/crates-io.scm (rust-keccak-0.1): New variable.
|
|
* gnu/packages/crates-io.scm (rust-lalrpop-0.19): New variable, skipping
build. (rust-lalrpop-0.17): Inherit from rust-lalrpop-0.19.
|
|
* gnu/packages/crates-io.scm (rust-lalrpop-util-0.19): New variable, skipping
build. (rust-lalrpop-util-0.17): Inherit from rust-lalrpop-util-0.19.
|
|
* gnu/packages/crates-io.scm (rust-ena-0.14): New variable, skipping
build. (rust-ena-0.13): Inherit from rust-ena-0.14.
|
|
* gnu/packages/crates-io.scm (rust-memsec-0.6): New variable, skipping
build. (rust-memsec-0.5): Inherit from rust-memsec-0.6.
|
|
* gnu/packages/crates-io.scm (rust-num-bigint-dig-0.6): New variable.
|
|
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): New variable.
|
|
* gnu/packages/crates-io.scm (rust-rpassword-5): New variable, skipping
build. (rust-rpassword-4): Inherit from rust-rpassword-5.
|
|
* gnu/packages/emacs-xyz.scm (emacs-slime-volleyball): Update to 1.1.7.
|
|
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust
configure-flags logic to match using string-prefix instead of a full
match when determining qemu targets.
|
|
* gnu/packages/nano.scm (nano): Update to 5.4.
|
|
* gnu/packages/xfce.scm (catfish): New variable.
|
|
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Update to 0.2.0.
|
|
This reverts commit 71b15b4874b7f9ec7001d2916a8ab27dcce6cdc0.
|
|
This reverts commit dee784f6dee69302f679216fb57f8157507b089e.
|
|
This reverts commit ba7a7d275dbcb766c76a8baf74739a99bda26a61.
|