summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
AgeCommit message (Collapse)Author
2020-07-15Revert "gnu: rust: Add SSL native search paths."Tobias Geerinckx-Rice
This reverts commit ba1e4ce2560d51c8ba935e5b5667ba3a0133c694.
2020-07-15gnu: rust: Add SSL native search paths.Tobias Geerinckx-Rice
* gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Add entries for SSL_CERT_DIR and SSL_CERT_FILE. Reported by Kimapr[m] in #guix.
2020-07-12gnu: Remove ".git" from "https://github/…/….git".Ludovic Courtès
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-02gnu: Rust: Use gdb@8.Marius Bakke
* gnu/packages/rust.scm (rust-1.19)[native-inputs]: Remove GDB-MINIMAL. Add GDB-8.2. (rust-1.27)[native-inputs]: Remove.
2020-07-02gnu: gdb@8.2: Inherit from the 'full' gdb.Marius Bakke
This reverts commit c007d868686fc2f9bf02a34150d4f0ac72b1f8d2, because later versions of Rust requires loading Python plugins. * gnu/packages/gdb.scm (gdb-minimal-8.2): Rename to ... (gdb-8.2): ... this. Adjust inheritance accordingly. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Adjust accordingly.
2020-06-27gnu: gdb@8.2: Inherit from 'gdb-minimal'.Marius Bakke
* gnu/packages/gdb.scm (gdb-minimal): Move definition up. (gdb-8.2): Rename to ... (gdb-minimal-8.2): ... this. Inherit from GDB-MINIMAL. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Adjust for the rename.
2020-06-27gnu: Rust: Use 'gdb-minimal' for tests.Marius Bakke
* gnu/packages/rust.scm (rust-1.19.0)[native-inputs]: Change from GDB to GDB-MINIMAL.
2020-07-03gnu: rust: Bootstrap up to rustc 1.44.Jakub Kądziołka
* gnu/packages/rust.scm (rust-1.40, rust-1.41, rust-1.42, rust-1.43, rust-1.44): New variables.
2020-05-26Merge branch 'master' into stagingMarius Bakke
2020-05-13mailmap: Update entries for Nikita.nikita
* .mailmap: change email and name for Nikita. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-03-30gnu: rust: Build with Make 4.2.Marius Bakke
Fixes <https://bugs.gnu.org/39949>. * gnu/packages/rust.scm (rust-1.20)[native-inputs]: Add GNU-MAKE-4.2.
2020-03-30Merge branch 'master' into core-updatesMarius Bakke
Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/guile.scm gnu/packages/linux.scm gnu/packages/package-management.scm gnu/packages/pulseaudio.scm gnu/packages/web.scm
2020-03-29gnu: Use rust 1.39 as the default for package buildsJakub Kądziołka
* gnu/packages/rust.scm (rust): Point to rust-1.39.
2020-03-27gnu: rust: Add 1.39Jakub Kądziołka
* gnu/packages/rust.scm (rust-1.39): New variable. (%cargo-reference-hash): Add a comment explaining the role of the variable.
2020-03-27gnu: rust: Add 1.38Jakub Kądziołka
All packages are still built with rustc 1.37, but users will see rustc 1.38 in their profiles, and packages that require newer compiler versions will be possible to add. * gnu/packages/rust.scm (rust-1.31): Factor out the patch-command-exec-tests phase to a separate procedure. (patch-command-exec-tests-phase): New procedure. (rust): Rename to rust-1.37, make rust an alias. (rust-1.38): New variable.
2020-02-14Merge branch 'master' into core-updatesMarius Bakke
2020-02-14gnu: mrustc: Fix typo in description.Andrius Štikonas via Guix-patches via
* gnu/packages/rust.scm (mrustc) [synopsis]: Fix a typo Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-02-12gnu: rust: Switch to 'C_INCLUDE_PATH'.Ludovic Courtès
* gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Remove "CPATH" and add "C_INCLUDE_PATH" and "CPLUS_INCLUDE_PATH" instead.
2020-01-21gnu: mrustc: Update to 0.9.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): update to 0.9. [arguments]<#:test-target]: Change to "test". <#:phases>[unpack-target-compiler]: Modify. [install]: Modify. (rust-1.19)[arguments]<#:phases>[build]: Modify.
2020-01-21gnu: mrustc: Clean up.Danny Milosavljevic
* gnu/packages/rust.scm (mrust)[native-inputs]: Remove zlib. [inputs]: Remove llvm. Add zlib. [arguments]<#:make-flags>: Remove LLVM_CONFIG. Add RUSTC_TARGET. [patch-date]: Modify. [unpack-target-compiler]: Modify. [configure]: Add CXX. [build-minicargo]: Modify. [install]: Install run_rustc.
2020-01-21gnu: mrustc: Update to 0.8.1.Danny Milosavljevic
* gnu/packages/patches/mrustc-0.8.0-fix-variable-length-integer-receiving.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/rust.scm (mrustc): Update to 0.8.1. [source](patches): Remove it. [native-inputs]: Add zlib.
2019-10-18gnu: rust@1.27: Add comment about GDB requirement.Marius Bakke
This is a follow-up to commit 47dda6e01e51478567e013e3814aaf48143abbc3. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Add comment.
2019-10-18gnu: rust: Use GDB 8.2 for tests.Marius Bakke
* gnu/packages/gdb.scm (gdb-8.2): New public variable. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Use GDB-8.2 instead of GDB.
2019-10-08Merge branch 'master' into stagingMarius Bakke
2019-09-06Merge branch 'master' into core-updatesMark H Weaver
2019-08-29gnu: rust: Update to 1.37.0.Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.36): ...this. (rust): New variable.
2019-08-14gnu: rust: Fix building.Efraim Flashner
This is a follow-up to e07b04882a621f0e78ec9cc81071722529530290. * gnu/packages/rust.scm (rust@1.19, rust@1.32)[arguments]: When using functions from (guix build cargo-utils), make sure to include said module in that build phase.
2019-08-12gnu: rust: Use 'generate-all-checksums'.Efraim Flashner
* gnu/packages/rust.scm (rust@1.19)[arguments]: During custom 'patch-cargo-checksums phase, replace call to 'generate-checksums' with call to 'generate-all-checksums'. (rust@1.32)[arguments]: Same.
2019-07-17Merge branch 'master' into core-updatesLudovic Courtès
2019-07-12gnu: rust: Fix hash.Tobias Geerinckx-Rice
I don't know what the previous hash described, but the signature on this one is valid. * gnu/packages/rust.scm (rust)[source]: Update hash.
2019-07-11gnu: rust: Update to 1.36.0.Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.35): ...this. (rust): New variable.
2019-07-02Merge branch 'staging' into core-updatesMarius Bakke
2019-06-28gnu: rust: use llvm@8Ivan Petkov
* gnu/packages/llvm.scm (llvm): Rename to... (llvm-8): ...this. (llvm): New variable. * gnu/packages/rust.scm (rust)[inputs]: Use llvm-8
2019-06-28gnu: rust: downgrade older versions to llvm@6Ivan Petkov
* gnu/packages/rust.scm: (rust-1.30): Remove llvm override.
2019-06-28gnu: rust: remove debug-info patch thanks to newer gdb versionIvan Petkov
* gnu/local.mk: (dist_patch_DATA): Delete %D%/packages/patches/rust-1.30-gdb-llvm.patch * gnu/packages/rust.scm: (rust-1.30): Delete patch overrides. (rust-1.31): Delete patch overrides.
2019-06-20gnu: Replace uses of 'cmake' with 'cmake-minimal'.Marius Bakke
This follows up commit 2f33a7321e5e37d37f57c229c8079cb4ffd10834 which introduced a new CMAKE-MINIMAL variant for use in package inputs. * gnu/packages/databases.scm (python-pyarrow)[native-inputs]: Replace CMAKE with CMAKE-MINIMAL. * gnu/packages/emacs-xyz.scm (emacs-scel)[native-inputs]: Likewise. * gnu/packages/firmware.scm (ath9k-htc-firmware)[native-inputs]: Likewise. * gnu/packages/games.scm (0ad, the-butterfly-effect)[native-inputs]: Likewise. * gnu/packages/gnome.scm (deja-dup)[native-inputs]: Likewise. * gnu/packages/ibus.scm (ibus-rime)[native-inputs]: Likewise. * gnu/packages/rust.scm (rust-1.19)[native-inputs]: Likewise. * gnu/packages/simulation.scm (fenics)[native-inputs]: Likewise. * gnu/packages/squirrel.scm (squirrel)[native-inputs]: Likewise. * gnu/packages/video.scm (handbrake)[native-inputs]: Likewise. * gnu/packages/virtualization.scm (xen)[native-inputs]: Likewise. * gnu/packages/vulkan.scm (shaderc)[native-inputs]: Likewise.
2019-06-20Merge branch 'staging' into core-updatesMarius Bakke
2019-06-17gnu: rust: Update to 1.35.0.Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.34): ...this. (rust): New variable.
2019-05-25Merge branch 'staging' into core-updatesMarius Bakke
2019-05-10gnu: rust: Update to 1.34.1.Ivan Petkov
* gnu/packages/rust.scm (rust): Update to 1.34.1. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-10gnu: rust: Make source derivations smaller.Ivan Petkov
* gnu/packages/rust.scm (rust-source-pre-1.32): Delete procedure. (rust-bootstrapped-package-pre-1.32): Delete procedure. (rust-bootstrapped-package): Remove optional keys, and return an origin. (rust-uri): New variable. (mrustc): Change native-input "rust" to use source of rust-1.19. (rust-1.19)[source]: Define package source. (rust-1.20): Use rust-bootstrapped-package. (rust-1.21): Likewise. (rust-1.22): Likewise. (rust-1.23): Likewise. (rust-1.24): Likewise. (rust-1.25): Likewise. (rust-1.26): Likewise. (rust-1.27): Likewise. (rust-1.28): Likewise. (rust-1.29): Likewise. (rust-1.30): Likewise. (rust-1.31): Likewise. (rust-1.32): Likewise. (rust-1.33): Likewise. (rust-1.34): Likewise. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-10gnu: rust: Delete install logs and manifests.Ivan Petkov
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[delete-install-logs]: New phase. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-10build/cargo-utils: Remove "src-name" parameter.Ivan Petkov
* gnu/packages/gnuzilla.scm (icecat)[arguments]<#:phases> [patch-cargo-checksums]: Delete "null-file" variable. * gnu/packages/rust.scm (%cargo-reference-project-file): Delete variable. * gnu/packages/rust.scm (rust-1.19): Remove reference to "%cargo-reference-project-file". * guix/build/cargo-utils.scm (generate-checksums): Remove "src-name" parameter. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-01Merge branch 'master' into core-updatesMarius Bakke
2019-04-17Merge branch 'master' into stagingMarius Bakke
2019-04-14gnu: rust: Update to 1.34.0.Ivan Petkov
* gnu/packages/rust.scm (rust): Update to 1.34.0.
2019-04-12gnu: rust: Enable parallel tests starting with 1.26.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.26)[arguments]<#:phases>[check]: Enable parallel tests.
2019-04-11gnu: rust: Update to 1.33.0Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.32): ...this. (rust): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-01Merge branch 'master' into stagingMarius Bakke
2019-03-31gnu: rust: Update to 1.32.0.Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.31): ...this. (rust): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>