diff options
author | Christopher Baines <mail@cbaines.net> | 2018-08-01 07:45:40 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 12:29:14 +0000 |
commit | 16ee2c195f66509bde11d876c1b608d47bfbaee9 (patch) | |
tree | 08ff17a88dc13ece054eae9622c83d1c9c83c3a7 | |
parent | 0714db11a066c6a240f79135a6c8ca47a2132ff0 (diff) | |
download | guix-16ee2c195f66509bde11d876c1b608d47bfbaee9.tar guix-16ee2c195f66509bde11d876c1b608d47bfbaee9.tar.gz |
gnu: Add ruby-public-suffix.
* gnu/packages/ruby.scm (ruby-public-suffix): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7153496895..3b3c0c9014 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3380,6 +3380,32 @@ Psych also knows how to serialize and de-serialize most Ruby objects to and from (home-page "https://github.com/ruby/psych") (license license:expat))) +(define-public ruby-public-suffix + (package + (name "ruby-public-suffix") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "public_suffix" version)) + (sha256 + (base32 + "1x5h1dh1i3gwc01jbg01rly2g6a1qwhynb1s8a30ic507z1nh09s")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ("ruby-yard" ,ruby-yard) + ("ruby-rubocop" ,ruby-rubocop) + ("ruby-mocha" ,ruby-mocha) + ("ruby-minitest-reporters" ,ruby-minitest-reporters))) + (synopsis + "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.") + (description + "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.") + (home-page + "https://simonecarletti.com/code/publicsuffix-ruby") + (license license:expat))) + (define-public ruby-guard (package (name "ruby-guard") |