From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: [PATCH 01/86] gnu: Add rust-libc.
Date: Tue, 3 Jan 2017 23:35:17 +0000 [thread overview]
Message-ID: <20170103233642.3181-2-ng0@libertad.pw> (raw)
In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw>
* gnu/packages/rust.scm (rust-libc): New variable.
---
gnu/packages/rust.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 8aa867317..2137ba601 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 Eric Le Bihan <eric.le.bihan.dev@free.fr>
-;;; Copyright © 2016 ng0 <ng0@libertad.pw>
+;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,6 +31,7 @@
#:use-module (gnu packages version-control)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
+ #:use-module (guix build-system cargo)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -265,3 +266,23 @@ safety and thread safety guarantees.")
(home-page "https://www.rust-lang.org")
;; Dual licensed.
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-libc
+ (package
+ (name "rust-libc")
+ (version "0.2.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w5cghr0wx3hi2sclk8r9iyzlbxsakil87ada40q2ykyhky24655"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-lang/libc")
+ (synopsis "Raw bindings to platform APIs for Rust")
+ (description
+ "Libc provides a library for types and bindings to native
+C functions often found in libc or other common platform libraries.")
+ (license (list license:expat license:asl2.0))))
--
2.11.0
next prev parent reply other threads:[~2017-01-03 23:36 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 23:35 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings ng0
2017-01-03 23:35 ` ng0 [this message]
2017-01-04 0:17 ` [PATCH 01/86] gnu: Add rust-libc Danny Milosavljevic
2017-01-04 1:34 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 02/86] gnu: Add rust-spin ng0
2017-01-04 0:21 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 03/86] gnu: Add rust-lazy-static ng0
2017-01-03 23:35 ` [PATCH 04/86] gnu: Add dotherside ng0
2017-01-03 23:35 ` [PATCH 05/86] gnu: Add rust-qml ng0
2017-01-03 23:35 ` [PATCH 06/86] gnu: Add rust-log ng0
2017-01-04 0:22 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 07/86] gnu: Add rust-futures ng0
2017-01-03 23:35 ` [PATCH 08/86] gnu: Add rust-rand ng0
2017-01-03 23:35 ` [PATCH 09/86] gnu: Add rust-nix-test ng0
2017-01-03 23:35 ` [PATCH 10/86] gnu: Add rust-void ng0
2017-01-04 0:24 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 11/86] gnu: Add rust-slab ng0
2017-01-04 0:25 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 12/86] gnu: Add rust-winapi-build ng0
2017-01-03 23:35 ` [PATCH 13/86] gnu: Add rust-tempdir ng0
2017-01-03 23:35 ` [PATCH 14/86] gnu: Add rust-glob ng0
2017-01-03 23:35 ` [PATCH 15/86] gnu: Add rust-scoped-tls ng0
2017-01-03 23:35 ` [PATCH 16/86] gnu: Add rust-bitflags ng0
2017-01-03 23:35 ` [PATCH 17/86] gnu: Add rust-unreachable ng0
2017-01-03 23:35 ` [PATCH 18/86] gnu: Add rust-thread-id ng0
2017-01-03 23:35 ` [PATCH 19/86] gnu: Add rust-thread-local ng0
2017-01-03 23:35 ` [PATCH 20/86] gnu: Add rust-cfg-if ng0
2017-01-03 23:35 ` [PATCH 21/86] gnu: Add rust-net2 ng0
2017-01-03 23:35 ` [PATCH 22/86] gnu: Add rust-bytes ng0
2017-01-03 23:35 ` [PATCH 23/86] gnu: Add rust-openssl-probe ng0
2017-01-03 23:35 ` [PATCH 24/86] gnu: Add rust-pkg-config ng0
2017-01-03 23:35 ` [PATCH 25/86] gnu: Add rust-num-traits ng0
2017-01-03 23:35 ` [PATCH 26/86] gnu: Add rust-num-integer ng0
2017-01-03 23:35 ` [PATCH 27/86] gnu: Add rust-num-iter ng0
2017-01-03 23:35 ` [PATCH 28/86] gnu: Add rust-openssl-sys ng0
2017-01-03 23:35 ` [PATCH 29/86] gnu: Add rust-matches ng0
2017-01-03 23:35 ` [PATCH 30/86] gnu: Add rust-getopts ng0
2017-01-03 23:35 ` [PATCH 31/86] gnu: Add rust-encoding-index-tests ng0
2017-01-03 23:35 ` [PATCH 32/86] gnu: Add rust-encoding-index-japanese ng0
2017-01-03 23:35 ` [PATCH 33/86] gnu: Add rust-encoding-index-korean ng0
2017-01-03 23:35 ` [PATCH 34/86] gnu: Add rust-encoding-index-simpchinese ng0
2017-01-03 23:35 ` [PATCH 35/86] gnu: Add rust-encoding-index-singlebyte ng0
2017-01-03 23:35 ` [PATCH 36/86] gnu: Add rust-encoding-index-tradchinese ng0
2017-01-03 23:35 ` [PATCH 37/86] gnu: Add rust-encoding ng0
2017-01-03 23:35 ` [PATCH 38/86] gnu: Add rust-deque ng0
2017-01-03 23:35 ` [PATCH 39/86] gnu: Add rust-clippy-mini-macro-test ng0
2017-01-03 23:35 ` [PATCH 40/86] gnu: Add rust-unicode-normalization ng0
2017-01-03 23:35 ` [PATCH 41/86] gnu: Add rust-fnv ng0
2017-01-04 0:38 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 42/86] gnu: Add rust-heapsize ng0
2017-01-04 0:39 ` Danny Milosavljevic
2017-01-03 23:35 ` [PATCH 43/86] gnu: Add rust-unicode-bidi ng0
2017-01-03 23:36 ` [PATCH 44/86] gnu: Add rust-rustc-serialize ng0
2017-01-03 23:36 ` [PATCH 45/86] gnu: Add rust-time ng0
2017-01-03 23:36 ` [PATCH 46/86] gnu: Add rust-term ng0
2017-01-04 0:41 ` Danny Milosavljevic
2017-01-03 23:36 ` [PATCH 47/86] gnu: Add rust-rustc-test ng0
2017-01-03 23:36 ` [PATCH 48/86] gnu: Add rust-idna ng0
2017-01-03 23:36 ` [PATCH 49/86] gnu: Add rust-compiletest-rs ng0
2017-01-03 23:36 ` [PATCH 50/86] gnu: Add rust-strsim ng0
2017-01-04 0:41 ` Danny Milosavljevic
2017-01-03 23:36 ` [PATCH 51/86] gnu: Add rust-quickcheck ng0
2017-01-03 23:36 ` [PATCH 52/86] gnu: Add rust-memchr ng0
2017-01-03 23:36 ` [PATCH 53/86] gnu: Add rust-fs2 ng0
2017-01-04 1:04 ` Danny Milosavljevic
2017-01-03 23:36 ` [PATCH 54/86] gnu: Add rust-memmap ng0
2017-01-03 23:36 ` [PATCH 55/86] gnu: Add rust-docopt ng0
2017-01-03 23:36 ` [PATCH 56/86] gnu: Add rust-byteorder ng0
2017-01-03 23:36 ` [PATCH 57/86] gnu: Add rust-csv ng0
2017-01-03 23:36 ` [PATCH 58/86] gnu: Add rust-aho-corasick ng0
2017-01-03 23:36 ` [PATCH 59/86] gnu: Add rust-regex-syntax ng0
2017-01-03 23:36 ` [PATCH 60/86] gnu: Add rust-simd ng0
2017-01-03 23:36 ` [PATCH 61/86] gnu: Add rust-utf8-ranges ng0
2017-01-03 23:36 ` [PATCH 62/86] gnu: Add rust-regex ng0
2017-01-03 23:36 ` [PATCH 63/86] gnu: Add rust-env-logger ng0
2017-01-03 23:36 ` [PATCH 64/86] gnu: Add rust-quine-mc-cluskey ng0
2017-01-03 23:36 ` [PATCH 65/86] gnu: Add rust-toml ng0
2017-01-03 23:36 ` [PATCH 66/86] gnu: Add rust-semver-parser ng0
2017-01-03 23:36 ` [PATCH 67/86] gnu: Add rust-semver ng0
2017-01-03 23:36 ` [PATCH 68/86] gnu: Add rust-rustc-version ng0
2017-01-03 23:36 ` [PATCH 69/86] gnu: Add rust-tempfile ng0
2017-01-03 23:36 ` [PATCH 70/86] gnu: Add rust-nix ng0
2017-01-03 23:36 ` [PATCH 71/86] gnu: Add rust-clippy-lints ng0
2017-01-03 23:36 ` [PATCH 72/86] gnu: Add rust-clippy ng0
2017-01-03 23:36 ` [PATCH 73/86] gnu: Add rust-lazycell ng0
2017-01-03 23:36 ` [PATCH 74/86] gnu: Add rust-mio ng0
2017-01-03 23:36 ` [PATCH 75/86] gnu: Add rust-tokio-core ng0
2017-01-03 23:36 ` [PATCH 76/86] gnu: Add rust-serde ng0
2017-01-03 23:36 ` [PATCH 77/86] gnu: Add rust-serde-test ng0
2017-01-03 23:36 ` [PATCH 78/86] gnu: rust-clippy: Add rust-serde input ng0
2017-01-03 23:36 ` [PATCH 79/86] gnu: rust-toml: " ng0
2017-01-03 23:36 ` [PATCH 80/86] gnu: rust-csv: Add rust-regex input ng0
2017-01-04 0:36 ` Danny Milosavljevic
2017-01-04 11:26 ` ng0
2017-01-03 23:36 ` [PATCH 81/86] gnu: rust-docopt: " ng0
2017-01-03 23:36 ` [PATCH 82/86] gnu: rust-quickcheck: Add rust-env-logger input ng0
2017-01-04 0:31 ` Danny Milosavljevic
2017-01-04 11:30 ` ng0
2017-01-03 23:36 ` [PATCH 83/86] gnu: Add fluid ng0
2017-01-03 23:36 ` [PATCH 84/86] gnu: Add libpsyc-rust ng0
2017-01-03 23:36 ` [PATCH 85/86] gnu: libpsyc: Remove comment ng0
2017-01-03 23:36 ` [PATCH 86/86] gnu: Add font-google-roboto ng0
2017-01-03 23:51 ` 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings Ben Woodcroft
2017-01-04 10:14 ` Ricardo Wurmus
2017-01-04 11:16 ` ng0
2017-01-04 11:20 ` David Craven
2017-01-04 11:54 ` ng0
2017-01-04 12:00 ` David Craven
2017-01-04 11:39 ` Danny Milosavljevic
2017-01-04 12:24 ` ng0
2017-01-04 20:52 ` Ludovic Courtès
2017-01-04 22:30 ` ng0
2017-01-05 20:34 ` David Craven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170103233642.3181-2-ng0@libertad.pw \
--to=ng0@libertad.pw \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.