From e6c24b123f6662e627895c91f9cb85a3fb7e0a2b Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:26 +0000 Subject: [PATCH] gnu: Add rust-opml-1. * gnu/packages/crates-io.scm (rust-opml-1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb6e3bac60..2edd596a4f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32507,6 +32507,31 @@ system for OpenSSL.") "Extra FFI bindings to OpenSSL that require a C shim.") (license license:expat))) +(define-public rust-opml-1 + (package + (name "rust-opml") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "opml" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zr7f101inkz3rknl0r3q0qkklfxhqrji7yxmqixajfn3m5mbjfa")))) + (build-system cargo-build-system) + (arguments + `(#:rust ,rust-1.52 ; fix for E0658 + #:cargo-inputs + (("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-strong-xml" ,rust-strong-xml-0.6) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Holllo/opml") + (synopsis "OPML parser for Rust") + (description "This package provides an OPML parser for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ord-subset-3 (package (name "rust-ord-subset")