[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/23: gnu: Add rust-os-pipe-1.
From: |
guix-commits |
Subject: |
03/23: gnu: Add rust-os-pipe-1. |
Date: |
Sun, 3 Apr 2022 07:15:25 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit f90052a87be05ac062344e3019b6448bdfb13289
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 3 10:30:10 2022 +0300
gnu: Add rust-os-pipe-1.
* gnu/packages/crates-io.scm (rust-os-pipe-1): New variable.
(rust-os-pipe-0.9): Inherit from rust-os-pipe-1.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d03504f600..d3a82e1b65 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39637,8 +39637,33 @@ under its new name.")
"This library detects the operating system type and version.")
(license license:expat)))
+(define-public rust-os-pipe-1
+ (package
+ (name "rust-os-pipe")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "os-pipe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mczqmqrkzmln4xg5ki1gwgykf4dsii0h4p7fxf667889ysz54ic"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (native-inputs
+ (list python-minimal-wrapper)) ; For the tests.
+ (home-page "https://github.com/oconnor663/os_pipe.rs")
+ (synopsis "Library for opening OS pipes")
+ (description
+ "This package provides a cross-platform library for opening OS pipes.")
+ (license license:expat)))
+
(define-public rust-os-pipe-0.9
(package
+ (inherit rust-os-pipe-1)
(name "rust-os-pipe")
(version "0.9.2")
(source
@@ -39650,19 +39675,12 @@ under its new name.")
(sha256
(base32
"04yjs1hf88jjm17g8a2lr7ibxyyg460rzbgcw9f1yzihq833y8zv"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))
- (home-page
- "https://github.com/oconnor663/os_pipe.rs")
- (synopsis
- "Cross-platform library for opening OS pipes")
- (description
- "A cross-platform library for opening OS pipes.")
- (license license:expat)))
+ (native-inputs (list))))
(define-public rust-os-pipe-0.5
(package
- branch master updated (3471b8fae2 -> b0ea8808b6), guix-commits, 2022/04/03
- 01/23: gnu: Add rust-document-features-0.2., guix-commits, 2022/04/03
- 07/23: gnu: Add rust-unicode-linebreak-0.1., guix-commits, 2022/04/03
- 06/23: gnu: Add rust-uniquote-3., guix-commits, 2022/04/03
- 08/23: gnu: Add rust-lipsum-0.8., guix-commits, 2022/04/03
- 05/23: gnu: Add rust-version-sync-0.9., guix-commits, 2022/04/03
- 10/23: gnu: rust-escargot-0.5: Update to 0.5.7., guix-commits, 2022/04/03
- 11/23: gnu: Add rust-ndarray-0.14., guix-commits, 2022/04/03
- 02/23: gnu: Add rust-kstring-1., guix-commits, 2022/04/03
- 03/23: gnu: Add rust-os-pipe-1.,
guix-commits <=
- 04/23: gnu: rust-os-pipe-0.9: Don't skip build., guix-commits, 2022/04/03
- 12/23: gnu: Add rust-smawk-0.3., guix-commits, 2022/04/03
- 15/23: gnu: Add rust-print-bytes-0.5., guix-commits, 2022/04/03
- 16/23: gnu: Add rust-os-str-bytes-6., guix-commits, 2022/04/03
- 19/23: gnu: rust-fsv-0.4: Update to 0.4.7., guix-commits, 2022/04/03
- 09/23: gnu: rust-terminal-size-0.1: Update to 0.1.17., guix-commits, 2022/04/03
- 21/23: gnu: rust-shlex-1: Update to 1.1.0., guix-commits, 2022/04/03
- 14/23: gnu: Add rust-os-str-bytes-4., guix-commits, 2022/04/03
- 17/23: gnu: rust-criterion-plot-0.4: Update to 0.4.4., guix-commits, 2022/04/03
- 18/23: gnu: rust-criterion-0.3: Update to 0.3.5., guix-commits, 2022/04/03