From e9b2bd3ca2ed116ef3f95d01209c76aa7a4491e8 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Sat, 5 Feb 2022 12:34:29 +0100 Subject: gnu: Add rust-cvss-1. * gnu/packages/crates-io.scm (rust-cvss-1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cf76ad53f9..bec9061f86 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71754,6 +71754,28 @@ a trait for tuples.") "This package provides a library to unify commandline arguments with config files and environment variables. And make it easier for users to tell your program how to behave across the three main input sources") (license license:expat))) +(define-public rust-cvss-1 + (package + (name "rust-cvss") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cvss" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gxxzimyxwf6ka011n6cd296ax6qiwnx8n6mxzh2l55bpvd65642")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/RustSec/rustsec/tree/main/cvss") + (synopsis "Common Vulnerability Scoring System parser/serializer") + (description "This package provides Common Vulnerability +Scoring System parser/serializer.") + (license (list license:asl2.0 license:expat)))) + (define-public svd2rust (package (name "svd2rust") -- cgit v1.2.3