summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-04import: Add binary npm importer.wip-node-14Jelle Licht
* guix/scripts/import.scm: (importers): Add "npm-binary". * guix/import/npm-binary.scm: New file. * guix/scripts/import/npm-binary.scm: New file. * Makefile.am: Add them. Co-authored-by: Timothy Sample <samplet@ngyro.com>
2020-12-04gnu: node: Add node-ltsJelle Licht
* gnu/packages/node.scm (node-lts): New package. * guix/build-system/node.scm (default-node): Adjust accordingly.
2020-12-04gnu: node: Add llhttp-bootstrap.Jelle Licht
* gnu/packages/node.scm (llhttp-bootstrap): New package.
2020-12-04gnu: node: Add node-llparse-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-bootstrap): New package.
2020-12-04gnu: node: Add node-llparse-frontend-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-frontend-bootstrap): New package.
2020-12-04gnu: node: Add node-llparse-builder-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-llparse-builder-bootstrap): New package.
2020-12-04gnu: node: Add node-debug-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-debug-bootstrap): New package.
2020-12-04gnu: node: Add node-binary-search-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-binary-search-bootstrap): New package.
2020-12-04gnu: node: Add node-ms-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-ms-bootstrap): New package.
2020-12-04gnu: node: Add node-semver-bootstrap.Jelle Licht
* gnu/packages/node.scm (node-semver-bootstrap): New package.
2020-12-04gnu: node: Add node-bootstrap.Jelle Licht
* gnu/packages/node (node-bootstrap): Add hidden alias for node-10.22.
2020-12-04gnu: node: Use license prefix.Jelle Licht
* gnu/packages/node.scm (node)[license]: Use prefix for license.
2020-12-04gnu: Add libuv-nodeJelle Licht
* gnu/packages/libevent.scm (libuv-node): New variable.
2020-12-04build-system: Rewrite node build system.Jelle Licht
* guix/build/node-build-system.scm: Rewrite it. * guix/build-system/node.scm: Adjust accordingly. * gnu/packages/node-xyz.scm (node-color-name, node-env-variable, node-far, node-long-stack-traces, node-mersenne, node-oop, node-stack-trace, node-statsd-parser, node-utils-deprecate, node-semver): Likewise. Co-authored-by: Timothy Sample <samplet@ngyro.com>
2020-12-03gnu: sbcl-cl-webkit: Update hash.Pierre Neidhardt
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update hash which was forgotten in previous update commit.
2020-12-03ci: Build novena-barebones-raw-image.Danny Milosavljevic
* gnu/ci.scm (%guix-system-images): Add novena-barebones-raw-image.
2020-12-03gnu: sbcl-cl-webkit: Update to 20201203.Pierre Neidhardt
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 20201203.
2020-12-03gnu: lisp-repl-core-dumper: Update to 0.3.0.Pierre Neidhardt
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Update to 0.3.0.
2020-12-03images: novena: Replace agetty-service by term-auto.Danny Milosavljevic
* gnu/system/images/novena.scm (novena-barebones-os)[kernel-arguments]: New field. [services]: Remove field.
2020-12-03images: Add novena-image-type, novena-barebones-raw-image, novena-barebones-os.Danny Milosavljevic
* gnu/system/images/novena.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2020-12-03gnu: rust-openssl-0.10: Update to 0.10.30.Nicolas Goaziou
* gnu/packages/crates-io.scm (rust-openssl-0): Update to 0.10.30.
2020-12-03gnu: rust-url-2: Update to 2.2.0.Nicolas Goaziou
* gnu/packages/crates-io.scm (rust-url-2): Update to 2.2.0. [arguments]: Add `rust-form-url-encoded' to Cargo inputs.
2020-12-03gnu: Add rust-form-urlencoded-1.Nicolas Goaziou
* gnu/packages/crates-io.scm (rust-form-urlencoded-1): New variable.
2020-12-03gnu: monolith: Make description more neutral.Nicolas Goaziou
* gnu/packages/web.scm (monolith)[description]: Make description more neutral.
2020-12-03gnu: libsoup: Patch docbook-xml references.Efraim Flashner
* gnu/packages/gnome.scm (libsoup)[arguments]: Add phase to refer to local copy of docbook-xml. [native-inputs]: Add docbook-xml-4.1.2.
2020-12-03gnu: google-brotli: Update to 1.0.9 (Fixes CVE-2020-8927).Efraim Flashner
* gnu/packages/compression.scm (google-brotli): Update to 1.0.9. [source]: Add snippet to remove unrecognized '-R' flag from pkg-config files.
2020-12-02gnu: linux-libre 4.4: Update to 4.4.247.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.247. (linux-libre-4.4-pristine-source): Update hash.
2020-12-02gnu: linux-libre 4.9: Update to 4.9.247.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.247. (linux-libre-4.9-pristine-source): Update hash.
2020-12-02gnu: linux-libre 4.14: Update to 4.14.210.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.210. (linux-libre-4.14-pristine-source): Update hash.
2020-12-02gnu: linux-libre 4.19: Update to 4.19.161.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.161. (linux-libre-4.19-pristine-source): Update hash.
2020-12-02gnu: linux-libre 5.4: Update to 5.4.81.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.81. (linux-libre-5.4-pristine-source): Update hash.
2020-12-02gnu: linux-libre: Update to 5.9.12.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.9-version): Update to 5.9.12. (linux-libre-5.9-pristine-source): Update hash.
2020-12-02gnu: emacs-telega: Update to 0.7.1.Brett Gilio
* gnu/packages/emacs-xyz.scm (emacs-telega): Update to 0.7.1.
2020-12-02gnu: tdlib: Update to 1.7.0.Brett Gilio
* gnu/packages/messaging.scm (tdlib): Update to 1.7.0.
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.