summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-02-05 12:34:29 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-19 11:39:38 +0100
commite9b2bd3ca2ed116ef3f95d01209c76aa7a4491e8 (patch)
treef00fe73c58579f5d9b2f92b0846f3fe6402e5556
parent5313a066408d5481235903613b881aa380a56322 (diff)
gnu: Add rust-cvss-1.
* gnu/packages/crates-io.scm (rust-cvss-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
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")