diff options
author | Christopher Baines <mail@cbaines.net> | 2019-02-04 11:29:42 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-04-28 21:12:14 +0100 |
commit | 1218680c011bbfeb95cdea80a1ca52fb338489e3 (patch) | |
tree | b3597b4c2583619030bb600b1d15767f81c9296a | |
parent | e850230e75ef5c807bd1690cdc420406dc14b037 (diff) | |
download | guix-1218680c011bbfeb95cdea80a1ca52fb338489e3.tar guix-1218680c011bbfeb95cdea80a1ca52fb338489e3.tar.gz |
gnu: Add ruby-hpricot.
* gnu/packages/ruby.scm (ruby-hpricot): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 68395c42fe..f2922ecfc7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -311,6 +311,36 @@ announcement.") (home-page "https://www.zenspider.com/projects/hoe.html") (license license:expat))) +(define-public ruby-hpricot + (package + (name "ruby-hpricot") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "hpricot" version)) + (sha256 + (base32 + "1jn8x9ch79gqmnzgyz78kppavjh5lqx0y0r6frykga2b86rz9s6z")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-Rakefile + (lambda _ + (substitute* "Rakefile" + (("REV = .*") "REV = '0'\n")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "Swift, liberal HTML parser with a fantastic library") + (description + "a swift, liberal HTML parser with a fantastic library") + (home-page + "http://code.whytheluckystiff.net/hpricot/") + (license #f))) + (define-public ruby-raabro (package (name "ruby-raabro") |