Commit graph

134 commits

Author SHA1 Message Date
Andrius Štikonas via Guix-patches via
7af0f2156c
gnu: mrustc: Fix typo in description.
* gnu/packages/rust.scm (mrustc) [synopsis]: Fix a typo

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-02-14 17:49:26 +01:00
Danny Milosavljevic
5b600fcae6
gnu: mrustc: Update to 0.9.
* 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-21 20:33:55 +01:00
Danny Milosavljevic
b07384b564
gnu: mrustc: Clean up.
* 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-21 17:42:26 +01:00
Danny Milosavljevic
6839095af7
gnu: mrustc: Update to 0.8.1.
* 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.
2020-01-21 16:50:00 +01:00
Marius Bakke
133be097a8
gnu: rust@1.27: Add comment about GDB requirement.
This is a follow-up to commit 47dda6e01e.

* gnu/packages/rust.scm (rust-1.27)[native-inputs]: Add comment.
2019-10-18 18:28:32 +02:00
Marius Bakke
47dda6e01e
gnu: rust: Use GDB 8.2 for tests.
* 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-18 18:18:27 +02:00
Marius Bakke
d1f3b333e6
Merge branch 'master' into staging 2019-10-08 19:24:34 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Ivan Petkov
02c61278f1
gnu: rust: Update to 1.37.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.36): ...this.
(rust): New variable.
2019-08-29 17:43:44 -07:00
Efraim Flashner
4585859f33
gnu: rust: Fix building.
This is a follow-up to e07b04882a.

* 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-14 12:09:03 +03:00
Efraim Flashner
e07b04882a
gnu: rust: Use 'generate-all-checksums'.
* 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-08-12 14:04:31 +03:00
Ludovic Courtès
64de896a71
Merge branch 'master' into core-updates 2019-07-17 15:51:10 +02:00
Tobias Geerinckx-Rice
ca31f76b86
gnu: rust: Fix hash.
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-12 14:55:11 +02:00
Ivan Petkov
f67f93b6d6
gnu: rust: Update to 1.36.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.35): ...this.
(rust): New variable.
2019-07-11 20:18:07 -07:00
Marius Bakke
4fb9165515
Merge branch 'staging' into core-updates 2019-07-02 20:18:16 +02:00
Ivan Petkov
f5de2b9a3e
gnu: rust: use llvm@8
* gnu/packages/llvm.scm (llvm): Rename to...
(llvm-8): ...this.
(llvm): New variable.
* gnu/packages/rust.scm (rust)[inputs]: Use llvm-8
2019-06-28 18:31:51 -07:00
Ivan Petkov
f676b2a45f
gnu: rust: downgrade older versions to llvm@6
* gnu/packages/rust.scm: (rust-1.30): Remove llvm override.
2019-06-28 18:31:51 -07:00
Ivan Petkov
f309420b2d
gnu: rust: remove debug-info patch thanks to newer gdb version
* 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-28 18:31:47 -07:00
Marius Bakke
c69959f054
gnu: Replace uses of 'cmake' with 'cmake-minimal'.
This follows up commit 2f33a7321e 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-20 23:56:57 +02:00
Marius Bakke
6cb1ef9ea2
Merge branch 'staging' into core-updates 2019-06-20 23:38:56 +02:00
Ivan Petkov
0ab5e91e1c
gnu: rust: Update to 1.35.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.34): ...this.
(rust): New variable.
2019-06-17 19:46:05 -07:00
Marius Bakke
57df83e07d
Merge branch 'staging' into core-updates 2019-05-25 00:25:15 +02:00
Ivan Petkov
3d8033af42
gnu: rust: Update to 1.34.1.
* gnu/packages/rust.scm (rust): Update to 1.34.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-10 00:44:09 +02:00
Ivan Petkov
4ed20d3cfe
gnu: rust: Make source derivations smaller.
* 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-10 00:44:09 +02:00
Ivan Petkov
bea01c0d2b
gnu: rust: Delete install logs and manifests.
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[delete-install-logs]:
New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-05-10 00:44:08 +02:00
Ivan Petkov
e88735b45f
build/cargo-utils: Remove "src-name" parameter.
* 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-10 00:44:08 +02:00
Marius Bakke
3b458d5462
Merge branch 'master' into core-updates 2019-05-01 23:11:41 +02:00
Marius Bakke
f5961dd585
Merge branch 'master' into staging 2019-04-17 00:08:34 +02:00
Ivan Petkov
a5c72da46c
gnu: rust: Update to 1.34.0.
* gnu/packages/rust.scm (rust): Update to 1.34.0.
2019-04-14 21:57:47 +02:00
Danny Milosavljevic
55548cdc6a
gnu: rust: Enable parallel tests starting with 1.26.
* gnu/packages/rust.scm (rust-1.26)[arguments]<#:phases>[check]: Enable
parallel tests.
2019-04-12 00:26:29 +02:00
Ivan Petkov
6d511a53cf
gnu: rust: Update to 1.33.0
* 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-11 13:46:39 +02:00
Marius Bakke
571fb008a5
Merge branch 'master' into staging 2019-04-01 00:02:39 +02:00
Ivan Petkov
d7d3bdca89
gnu: rust: Update to 1.32.0.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.31): ...this.
(rust): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-31 21:11:55 +02:00
Danny Milosavljevic
586d30caa2
gnu: rust: Fix test setup.
* gnu/packages/rust.scm (rust-1.30)[arguments]<#:phases>
[disable-amd64-avx-test]: Replace.
(rust)[arguments]<#:phases>[disable-amd64-avx-test]: Replace.
2019-03-29 00:50:35 +01:00
Ivan Petkov
339c1365fd
gnu: rust: Refactor in order to prepare for newer Rust versions.
* gnu/packages/rust.scm (rust-source): Rename to...
(rust-source-pre-1.32): ...this.  Add PATCH-FLAGS.
(rust-bootstrapped-package): Rename to...
(rust-bootstrapped-package-pre-1.32): ...this.
(rust-source): New procedure.
(rust-bootstrapped-package): New procedure.
(mrustc): Use rust-bootstrapped-package-pre-1.32.
(rust-1.19): Use rust-bootstrapped-package-pre-1.32.
(rust-1.20): Use rust-bootstrapped-package-pre-1.32.
(rust-1.21): Use rust-bootstrapped-package-pre-1.32.
(rust-1.22): Use rust-bootstrapped-package-pre-1.32.
(rust-1.23): Use rust-bootstrapped-package-pre-1.32.
(rust-1.24): Use rust-bootstrapped-package-pre-1.32.
(rust-1.25): Use rust-bootstrapped-package-pre-1.32.
(rust-1.26): Use rust-bootstrapped-package-pre-1.32.
(rust-1.27): Use rust-bootstrapped-package-pre-1.32.
(rust-1.28): Use rust-bootstrapped-package-pre-1.32.
(rust-1.29): Use rust-bootstrapped-package-pre-1.32.
(rust-1.30): Use rust-bootstrapped-package-pre-1.32.
(rust): Use rust-bootstrapped-package-pre-1.32.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-29 00:50:35 +01:00
Marius Bakke
8c14f7f8a7
Merge branch 'staging' into core-updates 2019-03-23 23:16:55 +01:00
Marius Bakke
081850816f
Merge branch 'master' into staging 2019-03-21 23:18:54 +01:00
ng0
47956fa0c2
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
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/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.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.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:
Correct name and email address for ng0.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-18 15:05:08 +01:00
Danny Milosavljevic
7311ed3f86
gnu: rust: Work around Hydra bug.
* gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug.
2019-03-17 11:04:36 +01:00
Marius Bakke
e74f153a10
gnu: Use OpenSSL 1.1 as the default OpenSSL package.
* gnu/packages/tls.scm (openssl-next): Delete variable.  Move related code ...
(openssl) ... here.
(openssl-1.0): New public variable.  Retain old arguments.
* gnu/packages/crypto.scm (asignify)[inputs]: Change OPENSSL-NEXT to OPENSSL.
* gnu/packages/databases.scm (mariadb)[inputs]: Change from OPENSSL to OPENSSL-1.0.
* gnu/packages/node.scm (node)[inputs]: Likewise.
* gnu/packages/rust.scm (rust-1.19)[inputs]: Likewise.
2019-03-10 18:49:59 +01:00
Marius Bakke
96ab233df7
Merge branch 'staging' into core-updates 2019-03-10 18:47:02 +01:00
Marius Bakke
f339df425e
Merge branch 'master' into staging 2019-03-06 16:31:58 +01:00
Ivan Petkov
1a3db0b22f
gnu: rust: Update to 1.31.1.
* gnu/patches/rust-1.30-gdb-llvm.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.29): ...this.
(rust-1.30): New variable.
(rust): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-05 13:43:09 +01:00
Marius Bakke
f5e563e50a
Merge branch 'staging' into core-updates 2019-03-01 17:40:51 +01:00
Marius Bakke
19464173ba
Merge branch 'master' into staging 2019-03-01 17:33:00 +01:00
Ivan Petkov
7d141788b1
gnu: rust: Factor out "cargo-utils" from "cargo-build-system".
* guix/build/cargo-utils.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cargo.scm (%cargo-utils-modules): New variable.
(%cargo-build-system-modules): Use it.
* guix/build/cargo-build-system.scm (file-sha256, generate-checksums): Move
from here...
* guix/build/cargo-utils.scm: ...to here.
* gnu/packages/rust.scm (rust-1.19.0)[arguments]<#:imported-modules>: Use
%cargo-utils-modules.
<#:phases>[patch-cargo-checksums]: Use (guix build cargo-utils).
* gnu/packages/gnuzilla.scm (icecat):
[arguments]<#:imported-modules>: Use %cargo-utils-modules.
<#phases>[patch-cargo-checksums]: import (guix build cargo-utils).

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-01 08:20:50 +01:00
Marius Bakke
9a6b8c9fa3
Merge branch 'staging' into core-updates 2019-02-24 21:26:58 +01:00
Marius Bakke
aa51eb2073
Merge branch 'master' into staging 2019-02-24 21:25:52 +01:00
Danny Milosavljevic
de6ad8c29a
gnu: rust: Fix build of rust 1.28.0, rust 1.29.2.
Follow-up to d199a4c7b4.

* gnu/packages/rust.scm (rust-1.28)[inputs]: Use llvm-6 instead of llvm.
2019-02-20 23:52:41 +01:00
Marius Bakke
901236474a
Merge branch 'staging' into core-updates 2019-02-20 17:19:00 +01:00