diff options
author | Julien Lepiller <julien@lepiller.eu> | 2018-08-26 12:39:15 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-09-01 23:07:35 +0200 |
commit | 0d16905b60bd4dab70dfafdb0a8d6fd29a304c44 (patch) | |
tree | d1f0264b616a8a138891333668d887a5839a8255 /gnu/packages/ruby.scm | |
parent | afb7a3e8d56f34b60c99f5d636a7ce152667fc80 (diff) | |
download | guix-0d16905b60bd4dab70dfafdb0a8d6fd29a304c44.tar guix-0d16905b60bd4dab70dfafdb0a8d6fd29a304c44.tar.gz |
gnu: Add ruby-public-suffix.
* gnu/packages/ruby.scm (ruby-public-suffix): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5bbd81f261..367832d277 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5097,3 +5097,27 @@ programs running in the background, in Ruby.") (sha256 (base32 "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p")))))) + +(define-public ruby-public-suffix + (package + (name "ruby-public-suffix") + (version "3.0.3") + (source (origin + (method url-fetch) + (uri (rubygems-uri "public_suffix" version)) + (sha256 + (base32 + "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l")))) + (build-system ruby-build-system) + (arguments + ;; Tests require network + `(#:tests? #f)) + (home-page "https://simonecarletti.com/code/publicsuffix-ruby/") + (synopsis "Domain name parser") + (description "The gem @code{public_suffix} is a domain name parser, +written in Ruby, and based on the @dfn{Public Suffix List}. A public suffix +is one under which Internet users can (or historically could) directly +register names. Some examples of public suffixes are @code{.com}, +@code{.co.uk} and @code{pvt.k12.ma.us}. The Public Suffix List is a list of +all known public suffixes.") + (license license:expat))) |