diff options
author | phodina <phodina@protonmail.com> | 2021-11-09 17:00:15 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-15 11:36:57 +0100 |
commit | 5489dd376fbe8ced1eefabf80953c27972586dcb (patch) | |
tree | 728e42056ef7ea2c21ae204f26a94ebea80f4f15 /gnu | |
parent | 492bec66a845e3ded38d019f38902029dd14fb95 (diff) | |
download | guix-5489dd376fbe8ced1eefabf80953c27972586dcb.tar guix-5489dd376fbe8ced1eefabf80953c27972586dcb.tar.gz |
gnu: Add rust-publicsuffix-2.
* gnu/packages/crates-io.scm (rust-publicsuffix-2): New variable.
(rust-publicsuffix-1): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9e43f096ba..37d1677890 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38965,8 +38965,36 @@ implementation crates.") stack pointer and inspect the properties of the stack.") (license (list license:isc license:asl2.0)))) +(define-public rust-publicsuffix-2 + (package + (name "rust-publicsuffix") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "publicsuffix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q9kbcqh9pa06p3kq7d3ksbnqjhs88v5wk5qg89wrgkbmpnp4a99")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-hashbrown" ,rust-hashbrown-0.11) + ("rust-idna" ,rust-idna-0.2) + ("rust-psl-types" ,rust-psl-types-2) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://github.com/rushmorem/publicsuffix") + (synopsis "Domain name parsing and email address validation") + (description "This package provides robust domain name parsing and RFC +compliant email address validation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-publicsuffix-1 (package + (inherit rust-publicsuffix-2) (name "rust-publicsuffix") (version "1.5.4") (source @@ -38977,7 +39005,6 @@ stack pointer and inspect the properties of the stack.") (sha256 (base32 "0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12) @@ -38987,12 +39014,7 @@ stack pointer and inspect the properties of the stack.") ("rust-regex" ,rust-regex-1) ("rust-url" ,rust-url-2)) #:cargo-development-inputs - (("rust-rspec" ,rust-rspec-1)))) - (home-page "https://github.com/rushmorem/publicsuffix") - (synopsis "Domain name parsing and email address validation") - (description "This package provides robust domain name parsing and RFC -compliant email address validation.") - (license (list license:expat license:asl2.0)))) + (("rust-rspec" ,rust-rspec-1)))))) (define-public rust-pulldown-cmark-0.8 (package |