[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/86] gnu: Add rust-libc.
From: |
ng0 |
Subject: |
[PATCH 01/86] gnu: Add rust-libc. |
Date: |
Tue, 3 Jan 2017 23:35:17 +0000 |
* 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 <address@hidden>
;;; Copyright © 2016 Eric Le Bihan <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;;
;;; 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
- 77 Rust Crates, fluid, roboto-font, libpsyc rust bindings, ng0, 2017/01/03
- [PATCH 03/86] gnu: Add rust-lazy-static., ng0, 2017/01/03
- [PATCH 01/86] gnu: Add rust-libc.,
ng0 <=
- [PATCH 02/86] gnu: Add rust-spin., ng0, 2017/01/03
- [PATCH 04/86] gnu: Add dotherside., ng0, 2017/01/03
- [PATCH 05/86] gnu: Add rust-qml., ng0, 2017/01/03
- [PATCH 08/86] gnu: Add rust-rand., ng0, 2017/01/03
- [PATCH 12/86] gnu: Add rust-winapi-build., ng0, 2017/01/03
- [PATCH 10/86] gnu: Add rust-void., ng0, 2017/01/03