From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "51724@debbugs.gnu.org" <51724@debbugs.gnu.org>
Subject: [bug#51724] [PATCH 03/12] gnu: Add rust-psl-2.
Date: Tue, 09 Nov 2021 16:59:38 +0000 [thread overview]
Message-ID: <3DM0ic02DrVOPnQfvWYJgUwgAA_pVCFBx3Ze4xiDhuyejaqlTDa_XNPUcTCsiyATPUIgdBxmu6Da1w4dN2S06Ef6Xn4M-21cy5K8T3HEznk=@protonmail.com> (raw)
In-Reply-To: <SlN3KJkyNBy551ZHggo4D4FbN0JHJ6j4VDcAx7sZIIfbX3f07Q0ODbxjPd9B757czVrtk7c1rVo3CM0a7Rdj9V7jRscdDTd-2dvDXW7l2eA=@protonmail.com>
* gnu/packages/crates-io.scm (rust-psl-2): New variable.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f9d801730..2a103eee97 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37923,6 +37923,37 @@ (define-public rust-proptest-derive-0.1
trait of proptest.")
(license (list license:expat license:asl2.0))))
+(define-public rust-psl-2
+ (package
+ (name "rust-psl")
+ (version "2.0.48")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "psl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a2d3z6gi7bwsi4xr6m3kq44wxyr81yqr5z76afv8kfxsc8p1nxh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-psl-types" ,rust-psl-types-2))
+ #:cargo-development-inputs
+ (("rust-rspec", rust-rspec-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("1.0.0") ,(package-version rust-rspec-1))))))))
+ (home-page "https://github.com/addr-rs/psl")
+ (synopsis "Extract root domain and suffix")
+ (description "This package extracts root domain and suffix from a domain
+name.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-psl-types-2
(package
(name "rust-psl-types")
--
2.33.1
next prev parent reply other threads:[~2021-11-09 17:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 16:46 [bug#51724] [PATCH 01/12] gnu: Add rust-lifeguard-0.6 phodina via Guix-patches via
2021-11-09 16:58 ` [bug#51724] [PATCH 02/12] gnu: Add rust-psl-types-2 phodina via Guix-patches via
2021-11-09 16:59 ` phodina via Guix-patches via [this message]
2021-11-09 17:00 ` [bug#51724] [PATCH 04/12] gnu: Add rust-publicsuffix-2 phodina via Guix-patches via
2021-11-09 17:00 ` [bug#51724] [PATCH 05/12] gnu: Add rust-no-std-net-0.5 phodina via Guix-patches via
2021-11-09 17:01 ` [bug#51724] [PATCH 06/12] gnu: Add rust-addr-0.14 phodina via Guix-patches via
2021-11-09 17:02 ` [bug#51724] [PATCH 07/12] gnu: rust-rmp-serde: Update to 0.15.5 phodina via Guix-patches via
2021-11-09 17:02 ` [bug#51724] [PATCH 08/12] gnu: Add rust-twoway-0.2 phodina via Guix-patches via
2021-11-09 17:03 ` [bug#51724] [PATCH 09/12] gnu: Add rust-rmp-serde-0.13 phodina via Guix-patches via
2021-11-09 17:03 ` [bug#51724] [PATCH 10/12] gnu: Add rust-selectors-0.21 phodina via Guix-patches via
2021-11-09 17:04 ` [bug#51724] [PATCH 11/12] gnu: Add rust-tokio-1.8 phodina via Guix-patches via
2021-11-09 17:04 ` [bug#51724] [PATCH 12/12] gnu: Add rust-adblock-0.4 phodina via Guix-patches via
2021-11-15 17:22 ` [bug#51724] [PATCH 01/12] gnu: Add rust-lifeguard-0.6 Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='3DM0ic02DrVOPnQfvWYJgUwgAA_pVCFBx3Ze4xiDhuyejaqlTDa_XNPUcTCsiyATPUIgdBxmu6Da1w4dN2S06Ef6Xn4M-21cy5K8T3HEznk=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51724@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).