aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-02gnu: Add monolith.Nicolas Goaziou
* gnu/packages/web.scm (monolith): New variable.
2020-12-02gnu: icedove: Update to 78.5.1 [fixes CVE-2020-26970].Jonathan Brielmaier
* gnu/packages/gnuzilla.scm (icedove): Update to 78.5.1.
2020-12-02import: crate: Use existing package satisfying semver requirement.Hartmut Goebel
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.
2020-12-02import: crate: Trim version for names after left-most non-zero part.Hartmut Goebel
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.
2020-12-02import: utils: Trim patch version from names.Hartmut Goebel
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.
2020-12-02import: crate: Parameterized importing of dev dependencies.Martin Becze
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.
2020-12-02import: crate: Memorize crate->guix-package.Martin Becze
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.
2020-12-02import: crate: Use guile-semver to resolve module versions.Martin Becze
* 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>
2020-12-02import: utils: 'recursive-import' accepts an optional version parameter.Martin Becze
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>
2020-12-02guix: self: Add guile-semver as a depenedency.Martin Becze
* guix/self.scm (compiled-guix): Add guile-semver as a depenedency.
2020-12-02gnu: snap: Update to 6.3.7.Nicolas Goaziou
* gnu/packages/education.scm (snap): Update to 6.3.7.
2020-12-02gnu: rust-base64-0.13: Fix code typo.Nicolas Goaziou
* gnu/packages/crates-io.scm (rust-base64-0.13): Fix code typo.
2020-12-02gnu: sequoia: Update to 0.20.0.Hartmut Goebel
* 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.
2020-12-02gnu: rust-rusqlite: Update to 0.24.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rusqlite): Update to 0.24.
2020-12-02gnu: Add rust-libsqlite3-sys-0.20.Hartmut Goebel
* 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.
2020-12-02gnu: Add rust-hashbrown-0.9.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-hashbrown-0.9): New variable, skipping build. (rust-hashbrown-0.8): Inherit from rust-hashbrown-0.9.
2020-12-02gnu: Add rust-hashlink-0.6.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-hashlink-0.6): New variable.
2020-12-02gnu: Add rust-base64-0.13.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-base64-0.13): New variable, skipping build. (rust-base64-0.12): Inherit from rust-base64-0.13.
2020-12-02gnu: Add rust-bzip2-0.4.Hartmut Goebel
* gnu/packages/crates-io.scm(rust-bzip2-0.4): New variable, skipping build. (rust-bzip2-0.3): Inherit from rust-bzip2-0.4.
2020-12-02gnu: Add rust-dyn-clone-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-dyn-clone-1): New variable.
2020-12-02gnu: Add rust-ed25519-dalek-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-ed25519-dalek-1): New variable.
2020-12-02gnu: Add rust-curve25519-dalek-3.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-curve25519-dalek-3): New variable.
2020-12-02gnu: Add rust-ed25519-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-ed25519-1): New variable.
2020-12-02gnu: Add rust-signature-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-signature-1): New variable.
2020-12-02gnu: Add rust-signature-derive-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-signature-derive-1): New variable.
2020-12-02gnu: Add rust-merlin-2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-merlin-2): New variable.
2020-12-02gnu: Add rust-keccak-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-keccak-0.1): New variable.
2020-12-02gnu: Add rust-lalrpop-0.19.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-lalrpop-0.19): New variable, skipping build. (rust-lalrpop-0.17): Inherit from rust-lalrpop-0.19.
2020-12-02gnu: Add rust-lalrpop-util-0.19.Hartmut Goebel
* 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.
2020-12-02gnu: Add rust-ena-0.14:Hartmut Goebel
* gnu/packages/crates-io.scm (rust-ena-0.14): New variable, skipping build. (rust-ena-0.13): Inherit from rust-ena-0.14.
2020-12-02gnu: Add rust-memsec-0.6.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-memsec-0.6): New variable, skipping build. (rust-memsec-0.5): Inherit from rust-memsec-0.6.
2020-12-02gnu: Add rust-num-bigint-dig-0.6.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-num-bigint-dig-0.6): New variable.
2020-12-02gnu: Add rust-win-crypto-ng-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): New variable.
2020-12-02gnu: Add rust-rpassword-5.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rpassword-5): New variable, skipping build. (rust-rpassword-4): Inherit from rust-rpassword-5.
2020-12-02gnu: emacs-slime-volleyball: Update to 1.1.7.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-slime-volleyball): Update to 1.1.7.
2020-12-02gnu: qemu-minimal: Fix emulation build list.Efraim Flashner
* 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.
2020-12-02gnu: nano: Update to 5.4.Efraim Flashner
* gnu/packages/nano.scm (nano): Update to 5.4.
2020-12-02gnu: Add catfish.Kei Kebreau
* gnu/packages/xfce.scm (catfish): New variable.
2020-12-02gnu: lisp-repl-core-dumper: Update to 0.2.0.Pierre Neidhardt
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Update to 0.2.0.
2020-12-01Revert "gnu: python-packaging: Update to 20.4."Marius Bakke
This reverts commit 71b15b4874b7f9ec7001d2916a8ab27dcce6cdc0.
2020-12-01Revert "gnu: yelp-xsl: Update to 3.36.0."Marius Bakke
This reverts commit dee784f6dee69302f679216fb57f8157507b089e.
2020-12-01Revert "gnu: yelp-xsl: Enable documentation."Marius Bakke
This reverts commit ba7a7d275dbcb766c76a8baf74739a99bda26a61.
2020-12-01Revert "gnu: yelp-tools: De-propagate some inputs."Marius Bakke
This reverts commit c3c92c456b25ffded596a42d11044f62dcc03baa.
2020-12-01Revert "gnu: gobject-introspection: Update to 1.64.1."Marius Bakke
This reverts commit 0382e6a4e633d8e95954754475d0887a661c670b.
2020-12-01Revert "gnu: pixman: Update to 0.40.0."Marius Bakke
This reverts commit f6a00057f51e43bb136f326edf670a08d125919d.
2020-12-01Revert "gnu: pixman: Enable some features."Marius Bakke
This reverts commit acc64de45b7fdacd542c3428d60c1c0ed699b474.
2020-12-01Revert "gnu: openjpeg: Enable tests."Marius Bakke
This reverts commit 49d38b9a44d1045133e993f372394f9d3c626a72.
2020-12-01gnu: xorg-server: Update to 1.20.10 [fixes CVE-2020-14360, CVE-2020-25712].Marius Bakke
* gnu/packages/xorg.scm (xorg-server): Update to 1.20.10. (xorg-server-for-tests): Stay on 1.20.9.
2020-12-01services: MySQL: Fix indentation.Marius Bakke
* gnu/services/databases.scm (mysql-upgrade-wrapper): Adjust indentation.
2020-12-01services: databases: Do not export record type descriptors.Marius Bakke
* gnu/services/databases.scm (<postgresql-config-file>, <postgresql-configuration>, <memcached-configuration>, <mongodb-configuration>): Remove exports.