From f1db6edf4da9f598ece8204c9939cf4525a2a193 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 16 Sep 2020 11:15:04 +0530 Subject: [PATCH] gnu: Add rust-ct-logs-0.7. * gnu/packages/crates-io.scm (rust-ct-logs-0.7): New variable. (rust-ct-logs-0.3): Inherit from rust-ct-logs-0.7. --- gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c11c78b93c..2d2f7d1d3c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4771,8 +4771,30 @@ Code} (MAC) algorithms.") "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) +(define-public rust-ct-logs-0.7 + (package + (name "rust-ct-logs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ct-logs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bk7pbmkjm18cgccm4a76vyn3wkaf2z4bh0jy9fk3dl4188i73lc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sct" ,rust-sct-0.6)))) + (home-page "https://github.com/ctz/ct-logs") + (synopsis "Google's list of Certificate Transparency logs") + (description "This package contains Google's list of Certificate +Transparency logs for use with sct crate.") + (license (list license:asl2.0 license:isc license:expat)))) + (define-public rust-ct-logs-0.3 (package + (inherit rust-ct-logs-0.7) (name "rust-ct-logs") (version "0.3.0") (source @@ -4782,15 +4804,9 @@ Code} (MAC) algorithms.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1f0885ws3p49xh6dfgnhh7zjw9h4rhs9ljs8i9cnkhifzz98784f")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-sct" ,rust-sct-0.3)))) - (home-page "https://github.com/ctz/ct-logs") - (synopsis "Google's list of Certificate Transparency logs") - (description "This package contains Google's list of Certificate -Transparency logs for use with sct crate.") - (license (list license:asl2.0 license:isc license:expat)))) + (("rust-sct" ,rust-sct-0.3)))))) (define-public rust-ctor-0.1 (package