[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
165/189: gnu: Add rust-libflate-1.
From: |
guix-commits |
Subject: |
165/189: gnu: Add rust-libflate-1. |
Date: |
Mon, 21 Sep 2020 06:01:53 -0400 (EDT) |
arunisaac pushed a commit to branch wip-swc
in repository guix.
commit 3fe0e44ad4e6f4a693988d9b39b675fd5e285ee1
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 21 00:17:24 2020 +0530
gnu: Add rust-libflate-1.
* gnu/packages/crates-io.scm (rust-libflate-1): New variable.
(rust-libflate-0.1): Inherit from rust-libflate-1.
---
gnu/packages/crates-io.scm | 60 +++++++++++++++++++++++++++++++---------------
1 file changed, 41 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3657ad1..08464ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14222,24 +14222,36 @@ values of all the exported APIs match the platform
that libc is compiled for.")
macros on libc without stdlib.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-libgit2-sys-0.10
+(define-public rust-libflate-1
(package
- (name "rust-libgit2-sys")
- (version "0.10.0")
+ (name "rust-libflate")
+ (version "1.0.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "libgit2-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))
- (modules '((guix build utils)))
- (snippet
- '(begin (delete-file-recursively "libgit2") #t))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libflate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jarv5ildsm0ci4prd4gz7fqypifhp9xk34z9w49rchx7q1ckfp9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler32" ,rust-adler32-1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-libflate-lz77" ,rust-libflate-lz77-1)
+ ("rust-rle-decode-fast" ,rust-rle-decode-fast-1))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2))))
+ (home-page "https://github.com/sile/libflate")
+ (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)")
+ (description "This package provides a Rust implementation of DEFLATE
+algorithm and related formats (ZLIB, GZIP).")
+ (license license:expat)))
(define-public rust-libflate-0.1
(package
+ (inherit rust-libflate-1)
(name "rust-libflate")
(version "0.1.27")
(source
@@ -14258,12 +14270,7 @@ macros on libc without stdlib.")
("rust-rle-decode-fast" ,rust-rle-decode-fast-1)
("rust-take-mut" ,rust-take-mut-0.2))
#:cargo-development-inputs
- (("rust-clap" ,rust-clap-2))))
- (home-page "https://github.com/sile/libflate")
- (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)")
- (description "This package provides a Rust implementation of DEFLATE
-algorithm and related formats (ZLIB, GZIP).")
- (license license:expat)))
+ (("rust-clap" ,rust-clap-2))))))
(define-public rust-libflate-lz77-1
(package
@@ -14286,6 +14293,21 @@ algorithm and related formats (ZLIB, GZIP).")
(description "This package provides a LZ77 encoder for libflate crate.")
(license license:expat)))
+(define-public rust-libgit2-sys-0.10
+ (package
+ (name "rust-libgit2-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "libgit2") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- 152/189: gnu: Add rust-dashmap-3., (continued)
- 152/189: gnu: Add rust-dashmap-3., guix-commits, 2020/09/21
- 153/189: gnu: Add rust-h2-0.2., guix-commits, 2020/09/21
- 155/189: gnu: Add rust-parking-lot-core-0.8., guix-commits, 2020/09/21
- 158/189: gnu: Add rust-mysqlclient-sys-0.2., guix-commits, 2020/09/21
- 160/189: gnu: Add rust-r2d2., guix-commits, 2020/09/21
- 164/189: gnu: Add rust-libflate-lz77-1., guix-commits, 2020/09/21
- 163/189: gnu: Add rust-libflate-0.1., guix-commits, 2020/09/21
- 168/189: gnu: Add rust-static-map-macro-0.2., guix-commits, 2020/09/21
- 189/189: gnu: Add rust-swc-1., guix-commits, 2020/09/21
- 170/189: gnu: Add rust-trust-dns-https-0.19., guix-commits, 2020/09/21
- 165/189: gnu: Add rust-libflate-1.,
guix-commits <=
- 173/189: gnu: Add rust-hyper-tls-0.4., guix-commits, 2020/09/21
- 169/189: gnu: Add rust-napi-derive-0.5., guix-commits, 2020/09/21
- 161/189: gnu: Add rust-diesel-1., guix-commits, 2020/09/21
- 179/189: gnu: Add rust-napi-build-0.2., guix-commits, 2020/09/21
- 187/189: gnu: Add rust-st-map-0.1., guix-commits, 2020/09/21
- 162/189: gnu: Add rust-semver-0.10., guix-commits, 2020/09/21
- 177/189: gnu: rust-syn-1: Update to 1.0.40., guix-commits, 2020/09/21
- 185/189: gnu: Add rust-fluid-attributes-0.4., guix-commits, 2020/09/21
- 178/189: gnu: Add rust-napi-sys-0.4., guix-commits, 2020/09/21
- 184/189: gnu: Add rust-sourcemap-6., guix-commits, 2020/09/21