diff mbox

[09/12] gnu: Add rust-bootstrap-x86_64-1.12.0.

Message ID 20160922131903.1606-9-david@craven.ch
State New
Headers show

Commit Message

David Craven Sept. 22, 2016, 1:19 p.m. UTC
* gnu/packages/rust.scm (rust-bootstrap-x86_64-1.12.0): New variable.
---
 gnu/packages/rust.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 gnu/packages/rust.scm

Comments

Ludovic Courtès Sept. 26, 2016, 10:18 a.m. UTC | #1
David Craven <david@craven.ch> skribis:

> * gnu/packages/rust.scm (rust-bootstrap-x86_64-1.12.0): New variable.

IMO this should go with the next patch (rustc-bootstrap) since it
doesn’t make much sense on its own.

Ludo’.
diff mbox

Patch

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
new file mode 100644
index 0000000..1831aa7
--- /dev/null
+++ b/gnu/packages/rust.scm
@@ -0,0 +1,30 @@ 
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Eric Le Bihan <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages rust)
+  #:use-module (guix download))
+
+(define rust-bootstrap-x86_64-1.12.0
+  (origin
+    (method url-fetch)
+    (uri (string-append
+          "https://static.rust-lang.org/dist/"
+          "rust-beta-x86_64-unknown-linux-gnu.tar.gz"))
+    (sha256
+     (base32
+      "1is1k93zarvxx0h7b57ga8vr9gj34b36l9la6zkph41x33gfgpvl"))))