ruby.scm
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
3 | ;;; |
4 | ;;; This file is part of GNU Guix. |
5 | ;;; |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
9 | ;;; your option) any later version. |
10 | ;;; |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | ;;; GNU General Public License for more details. |
15 | ;;; |
16 | ;;; You should have received a copy of the GNU General Public License |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
18 | |
19 | (define-module (more packages ruby) |
20 | #:use-module ((guix licenses) #:prefix license:) |
21 | #:use-module (gnu packages) |
22 | #:use-module (guix packages) |
23 | #:use-module (guix download) |
24 | #:use-module (guix git-download) |
25 | #:use-module (guix utils) |
26 | #:use-module (guix build-system gnu) |
27 | #:use-module (guix build-system ruby) |
28 | #:use-module (gnu packages ncurses) |
29 | #:use-module (gnu packages ruby)) |
30 | |
31 | (define-public ruby-concurrent |
32 | (package |
33 | (name "ruby-concurrent") |
34 | (version "1.0.5") |
35 | (source (origin |
36 | (method url-fetch) |
37 | (uri (rubygems-uri "concurrent-ruby" version)) |
38 | (sha256 |
39 | (base32 |
40 | "183lszf5gx84kcpb779v6a2y0mx9sssy8dgppng1z9a505nj1qcf")))) |
41 | (build-system ruby-build-system) |
42 | (arguments `(#:tests? #f)); No rakefile |
43 | (home-page "http://www.concurrent-ruby.com/") |
44 | (synopsis "Concurrency tools for Ruby") |
45 | (description "This gem provides concurrency tools for Ruby. Its design goals are: |
46 | @itemize |
47 | @item Be an 'unopinionated' toolbox that provides useful utilities without |
48 | debating which is better or why |
49 | @item Remain free of external gem dependencies |
50 | @item Stay true to the spirit of the languages providing inspiration |
51 | @item But implement in a way that makes sense for Ruby |
52 | @item Keep the semantics as idiomatic Ruby as possible |
53 | @item Support features that make sense in Ruby |
54 | @item Exclude features that don't make sense in Ruby |
55 | @item Be small, lean, and loosely coupled |
56 | @item Thread-safety |
57 | @item Backward compatibility |
58 | @end itemize") |
59 | (license license:expat))) |
60 | |
61 | (define-public ruby-i18n-fix |
62 | (package |
63 | (inherit ruby-i18n) |
64 | ;(version "0.9.0") |
65 | (version "1.1.0") |
66 | (source (origin |
67 | (method url-fetch) |
68 | (uri (rubygems-uri "i18n" version)) |
69 | (sha256 |
70 | (base32 |
71 | ;"0h5wygnbpxas8kwhqkwk6n4s334dxyxvlxykc6mxfndb0m56166r")))) |
72 | "0ppvmla21hssvrfm8g1n2fnb4lxn4yhy9qmmba0imanflgldrjmr")))) |
73 | (propagated-inputs |
74 | `(("concurrent-ruby" ,ruby-concurrent))))) |
75 | |
76 | (define-public ruby-ttfunk-fix |
77 | (package |
78 | (inherit ruby-ttfunk) |
79 | (version "1.5.1") |
80 | (source (origin |
81 | (method url-fetch) |
82 | (uri (rubygems-uri "ttfunk" version)) |
83 | (sha256 |
84 | (base32 |
85 | "1mgrnqla5n51v4ivn844albsajkck7k6lviphfqa8470r46c58cd")))) |
86 | (arguments '(#:tests? #f)))); No rakefile |
87 | |
88 | (define-public ruby-public-suffix |
89 | (package |
90 | (name "ruby-public-suffix") |
91 | (version "3.0.3") |
92 | (source (origin |
93 | (method url-fetch) |
94 | (uri (rubygems-uri "public_suffix" version)) |
95 | (sha256 |
96 | (base32 |
97 | "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l")))) |
98 | (build-system ruby-build-system) |
99 | (arguments |
100 | ;; Tests require network |
101 | `(#:tests? #f)) |
102 | (home-page "https://simonecarletti.com/code/publicsuffix-ruby/") |
103 | (synopsis "Domain name parser") |
104 | (description "The gem @code{public_suffix} is a domain name parser, |
105 | written in Ruby, and based on the @dfn{Public Suffix List}. A public suffix |
106 | is one under which Internet users can (or historically could) directly |
107 | register names. Some examples of public suffixes are @code{.com}, |
108 | @code{.co.uk} and @code{pvt.k12.ma.us}. The Public Suffix List is a list of |
109 | all known public suffixes.") |
110 | (license license:expat))) |
111 | |
112 | (define-public ruby-addressable |
113 | (package |
114 | (name "ruby-addressable") |
115 | (version "2.5.2") |
116 | (source (origin |
117 | (method url-fetch) |
118 | (uri (rubygems-uri "addressable" version)) |
119 | (sha256 |
120 | (base32 |
121 | "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk")))) |
122 | (build-system ruby-build-system) |
123 | (propagated-inputs |
124 | `(("public_suffix" ,ruby-public-suffix))) |
125 | (arguments |
126 | ;; No test target |
127 | `(#:tests? #f)) |
128 | (home-page "https://github.com/sporkmonger/addressable") |
129 | (synopsis "Alternative URI implementation") |
130 | (description "Addressable is a replacement for the URI implementation that |
131 | is part of Ruby's standard library. It more closely conforms to RFC 3986, |
132 | RFC 3987, and RFC 6570 (level 4), providing support for IRIs and URI templates.") |
133 | (license license:asl2.0))) |
134 | |
135 | (define-public ruby-colorator |
136 | (package |
137 | (name "ruby-colorator") |
138 | (version "1.1.0") |
139 | (source (origin |
140 | (method url-fetch) |
141 | (uri (rubygems-uri "colorator" version)) |
142 | (sha256 |
143 | (base32 |
144 | "0f7wvpam948cglrciyqd798gdc6z3cfijciavd0dfixgaypmvy72")))) |
145 | (build-system ruby-build-system) |
146 | (arguments |
147 | ;; No test target |
148 | `(#:tests? #f)) |
149 | (home-page "http://octopress.org/colorator/") |
150 | (synopsis "Terminal color library") |
151 | (description "Colorator is a Ruby gem that helps you colorize your text |
152 | for the terminal.") |
153 | (license license:expat))) |
154 | |
155 | (define-public ruby-colored |
156 | (package |
157 | (name "ruby-colored") |
158 | (version "1.2") |
159 | (source (origin |
160 | (method url-fetch) |
161 | (uri (rubygems-uri "colored" version)) |
162 | (sha256 |
163 | (base32 |
164 | "0f7wvpam948cglrciyqd798gdc6z3cfijciavd0dfixgaypmvy72")))) |
165 | (build-system ruby-build-system) |
166 | (arguments |
167 | ;; No test target |
168 | `(#:tests? #f)) |
169 | (home-page "https://github.com/defunkt/colored") |
170 | (synopsis "Terminal color library") |
171 | (description "Colored is a Ruby gem that helps you colorize your text |
172 | for the terminal. Warning: this package is unmaintained!") |
173 | (license license:expat))) |
174 | |
175 | (define-public ruby-command-line-reporter |
176 | (package |
177 | (name "ruby-command-line-reporter") |
178 | (version "4.0.0") |
179 | (source (origin |
180 | (method url-fetch) |
181 | (uri (rubygems-uri "command_line_reporter" version)) |
182 | (sha256 |
183 | (base32 |
184 | "1qma35xrb772whxwy1rs9bicb9d6lvz0s2dd2dnn4fr6zcbcxc0a")))) |
185 | (build-system ruby-build-system) |
186 | (arguments |
187 | ;; No Rakefile |
188 | `(#:tests? #f |
189 | #:phases |
190 | (modify-phases %standard-phases |
191 | (add-before 'build 'fix-dependency |
192 | (lambda _ |
193 | (substitute* ".gemspec" |
194 | (("colored") "colorator") |
195 | (("= 1.2") "= 1.1")) |
196 | #t))))) |
197 | (propagated-inputs |
198 | `(("ruby-colorator" ,ruby-colorator))) |
199 | (home-page "https://github.com/wbailey/command_line_reporter") |
200 | (synopsis "Report production while executing Ruby scripts") |
201 | (description "This gem provides a DSL that makes it easy to write reports |
202 | of various types in ruby. It eliminates the need to litter your source with |
203 | puts statements, instead providing a more readable, expressive interface to |
204 | your application.") |
205 | (license license:asl2.0))) |
206 | |
207 | (define-public ruby-command-line-reporter-3 |
208 | (package |
209 | (inherit ruby-command-line-reporter) |
210 | (version "3.3.6") |
211 | (source (origin |
212 | (method url-fetch) |
213 | (uri (rubygems-uri "command_line_reporter" version)) |
214 | (sha256 |
215 | (base32 |
216 | "1h39zqqxp3k4qk49ajpx0jps1vmvxgkh43mqkb6znk583bl0fv71")))))) |
217 | |
218 | (define-public ruby-rdoc |
219 | (package |
220 | (name "ruby-rdoc") |
221 | (version "6.0.4") |
222 | (source |
223 | (origin |
224 | (method url-fetch) |
225 | (uri (rubygems-uri "rdoc" version)) |
226 | (sha256 |
227 | (base32 |
228 | "0anv42cqcdc6g4n386mrva7mgav5i0c2ry3yzvzzc6z6hymkmcr7")))) |
229 | (build-system ruby-build-system) |
230 | (native-inputs |
231 | `(("bundler" ,bundler))) |
232 | (synopsis "HTML and command-line documentation utility.") |
233 | (description "RDoc produces HTML and command-line documentation for Ruby |
234 | projects. RDoc includes the +rdoc+ and +ri+ tools for generating and displaying |
235 | documentation from the command-line.") |
236 | (home-page "https://ruby.github.io/rdoc") |
237 | (license license:gpl2+))) |
238 | |
239 | (define-public ruby-sass-listen |
240 | (package |
241 | (name "ruby-sass-listen") |
242 | (version "4.0.0") |
243 | (source (origin |
244 | (method url-fetch) |
245 | (uri (rubygems-uri "sass-listen" version)) |
246 | (sha256 |
247 | (base32 |
248 | "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df")))) |
249 | (build-system ruby-build-system) |
250 | (arguments |
251 | ;; No test target |
252 | `(#:tests? #f)) |
253 | (propagated-inputs |
254 | `(("rb-fsevent" ,ruby-rb-fsevent) |
255 | ("rb-inotify" ,ruby-rb-inotify))) |
256 | (home-page "https://github.com/sass/listen") |
257 | (synopsis "File modification notification library") |
258 | (description "The Listen gem listens to file modifications and notifies you |
259 | about the changes.") |
260 | (license license:expat))) |
261 | |
262 | (define-public ruby-terminfo |
263 | (package |
264 | (name "ruby-terminfo") |
265 | (version "0.1.1") |
266 | (source |
267 | (origin |
268 | (method url-fetch) |
269 | (uri (rubygems-uri "ruby-terminfo" version)) |
270 | (sha256 |
271 | (base32 |
272 | "0rl4ic5pzvrpgd42z0c1s2n3j39c9znksblxxvmhkzrc0ckyg2cm")))) |
273 | (build-system ruby-build-system) |
274 | (arguments |
275 | `(#:test-target "test" |
276 | #:tests? #f)) |
277 | (inputs |
278 | `(("ncurses" ,ncurses))) |
279 | (native-inputs |
280 | `(("ruby-rubygems-tasks" ,ruby-rubygems-tasks) |
281 | ("ruby-rdoc" ,ruby-rdoc))) |
282 | (synopsis "terminfo binding for Ruby") |
283 | (description "ruby-terminfo provides terminfo binding for Ruby.") |
284 | (home-page "http://ruby-terminfo.rubyforge.org") |
285 | (license license:bsd-3))) |
286 | |
287 | (define-public ruby-diffy |
288 | (package |
289 | (name "ruby-diffy") |
290 | (version "3.2.1") |
291 | (source |
292 | (origin |
293 | (method url-fetch) |
294 | (uri (rubygems-uri "diffy" version)) |
295 | (sha256 |
296 | (base32 |
297 | "119imrkn01agwhx5raxhknsi331y5i4yda7r0ws0an6905ximzjg")))) |
298 | (build-system ruby-build-system) |
299 | (arguments |
300 | ;; No tests |
301 | `(#:tests? #f)) |
302 | (native-inputs |
303 | `(("rspec" ,ruby-rspec))) |
304 | (synopsis "Convenient diffing in ruby") |
305 | (description "Diffy provides a convenient way to generate a diff from two |
306 | strings or files.") |
307 | (home-page "http://github.com/samg/diffy") |
308 | (license license:expat))) |
309 | |
310 | (define-public ruby-sass-spec |
311 | (package |
312 | (name "ruby-sass-spec") |
313 | (version "3.5.4") |
314 | (source (origin |
315 | (method url-fetch) |
316 | (uri (string-append "https://github.com/sass/sass-spec/archive/v" |
317 | version ".tar.gz")) |
318 | (file-name (string-append name "-" version ".tar.gz")) |
319 | (sha256 |
320 | (base32 |
321 | "0nx8lp7c9qa58w489crgqa3c489xsyarn1a8h4np9mwwfqm1h3rr")))) |
322 | (build-system ruby-build-system) |
323 | (propagated-inputs |
324 | `(("ruby-command-line-reporter-3" ,ruby-command-line-reporter-3) |
325 | ("ruby-diffy" ,ruby-diffy) |
326 | ("ruby-terminfo" ,ruby-terminfo))) |
327 | (arguments |
328 | ;; No Rakefile |
329 | `(#:tests? #f)) |
330 | (home-page "https://github.com/sass/sass-spec") |
331 | (synopsis "Test suite for Sass") |
332 | (description "Sass Spec is a test suite for Sass. Test cases are all in |
333 | the @file{spec} directory.") |
334 | (license license:expat))) |
335 | |
336 | (define-public ruby-sass |
337 | (package |
338 | (name "ruby-sass") |
339 | (version "3.5.7") |
340 | (source (origin |
341 | (method url-fetch) |
342 | (uri (rubygems-uri "sass" version)) |
343 | (sha256 |
344 | (base32 |
345 | "1sy7xsbgpcy90j5ynbq967yplffp74pvph3r8ivn2sv2b44q6i61")))) |
346 | (build-system ruby-build-system) |
347 | (propagated-inputs |
348 | `(("sass-listen" ,ruby-sass-listen))) |
349 | (native-inputs |
350 | `(("ruby-sass-spec" ,ruby-sass-spec))) |
351 | (home-page "http://sass-lang.com/") |
352 | (synopsis "") |
353 | (description "") |
354 | (license license:expat))) |
355 | |
356 | (define-public ruby-jekyll-sass-converter |
357 | (package |
358 | (name "ruby-jekyll-sass-converter") |
359 | (version "1.5.2") |
360 | (source (origin |
361 | (method url-fetch) |
362 | (uri (rubygems-uri "jekyll-sass-converter" version)) |
363 | (sha256 |
364 | (base32 |
365 | "008ikh5fk0n6ri54mylcl8jn0mq8p2nfyfqif2q3pp0lwilkcxsk")))) |
366 | (build-system ruby-build-system) |
367 | (propagated-inputs |
368 | `(("sass" ,ruby-sass))) |
369 | (arguments |
370 | ;; No rakefile |
371 | `(#:tests? #f)) |
372 | (home-page "https://github.com/jekyll/jekyll-sass-converter") |
373 | (synopsis "") |
374 | (description "") |
375 | (license license:expat))) |
376 | |
377 | (define-public ruby-listen-3.0 |
378 | (package |
379 | (inherit ruby-listen) |
380 | (version "3.0.8") |
381 | (source (origin |
382 | (method url-fetch) |
383 | (uri (rubygems-uri "listen" version)) |
384 | (sha256 |
385 | (base32 |
386 | "1l0y7hbyfiwpvk172r28hsdqsifq1ls39hsfmzi1vy4ll0smd14i")))))) |
387 | |
388 | (define-public ruby-jekyll-watch |
389 | (package |
390 | (name "ruby-jekyll-watch") |
391 | (version "2.0.0") |
392 | (source (origin |
393 | (method url-fetch) |
394 | (uri (rubygems-uri "jekyll-watch" version)) |
395 | (sha256 |
396 | (base32 |
397 | "0m7scvj3ki8bmyx5v8pzibpg6my10nycnc28lip98dskf8iakprp")))) |
398 | (build-system ruby-build-system) |
399 | (propagated-inputs |
400 | `(("ruby-listen" ,ruby-listen-3.0))) |
401 | (arguments |
402 | ;; No rakefile |
403 | `(#:tests? #f)) |
404 | (home-page "https://github.com/jekyll/jekyll-watch") |
405 | (synopsis "") |
406 | (description "") |
407 | (license license:expat))) |
408 | |
409 | (define-public ruby-parallel |
410 | (package |
411 | (name "ruby-parallel") |
412 | (version "1.12.1") |
413 | (source (origin |
414 | (method url-fetch) |
415 | (uri (rubygems-uri "parallel" version)) |
416 | (sha256 |
417 | (base32 |
418 | "01hj8v1qnyl5ndrs33g8ld8ibk0rbcqdpkpznr04gkbxd11pqn67")))) |
419 | (build-system ruby-build-system) |
420 | (home-page "https://github.com/grosser/parallel") |
421 | (arguments `(#:tests? #f)); No rakefile |
422 | (synopsis "") |
423 | (description "") |
424 | (license license:expat))) |
425 | |
426 | (define-public ruby-cane |
427 | (package |
428 | (name "ruby-cane") |
429 | (version "3.0.0") |
430 | (source (origin |
431 | (method url-fetch) |
432 | (uri (rubygems-uri "cane" version)) |
433 | (sha256 |
434 | (base32 |
435 | "0yf5za3l7lhrqa3g56sah73wh33lbxy5y3cb7ij0a2bp1b4kwhih")))) |
436 | (build-system ruby-build-system) |
437 | (arguments `(#:tests? #f)); No rakefile |
438 | (home-page "http://github.com/square/cane") |
439 | (propagated-inputs |
440 | `(("parallel" ,ruby-parallel))) |
441 | (synopsis "") |
442 | (description "") |
443 | (license license:asl2.0))) |
444 | |
445 | (define-public ruby-morecane |
446 | (package |
447 | (name "ruby-morecane") |
448 | (version "0.2.0") |
449 | (source (origin |
450 | (method url-fetch) |
451 | (uri (rubygems-uri "morecane" version)) |
452 | (sha256 |
453 | (base32 |
454 | "0w70vb8z5bdhvr21h660aa43m5948pv0bd27z7ngai2iwdvqd771")))) |
455 | (build-system ruby-build-system) |
456 | (home-page "https://github.com/yob/morecane") |
457 | (arguments `(#:tests? #f)); No rakefile |
458 | (propagated-inputs |
459 | `(("parallel" ,ruby-parallel))) |
460 | (synopsis "") |
461 | (description "") |
462 | (license license:expat))) |
463 | |
464 | (define-public ruby-bacon-colored-output |
465 | (package |
466 | (name "ruby-bacon-colored-output") |
467 | (version "1.1.1") |
468 | (source |
469 | (origin |
470 | (method url-fetch) |
471 | (uri (rubygems-uri "bacon-colored_output" version)) |
472 | (sha256 |
473 | (base32 |
474 | "1znyh3vkfdlmf19p3k4zip88ibym41dn5g4p4n5hmks2iznb7qpx")))) |
475 | (build-system ruby-build-system) |
476 | (arguments |
477 | ;; No tests |
478 | `(#:tests? #f)) |
479 | (propagated-inputs `(("ruby-bacon" ,ruby-bacon))) |
480 | (native-inputs |
481 | `(("bundler" ,bundler))) |
482 | (synopsis |
483 | "Colored output for Bacon test framework! http://i.imgur.com/EpTpw.png") |
484 | (description |
485 | "Colored output for Bacon test framework! http://i.imgur.com/EpTpw.png") |
486 | (home-page "") |
487 | (license #f))) |
488 | |
489 | (define-public ruby-coveralls |
490 | (package |
491 | (name "ruby-coveralls") |
492 | (version "0.8.22") |
493 | (source |
494 | (origin |
495 | (method url-fetch) |
496 | (uri (rubygems-uri "coveralls" version)) |
497 | (sha256 |
498 | (base32 |
499 | "022kc16np6w4mv17hq3m9hhw9l8hjl78ld3fzqqx6337vwvwvwcg")))) |
500 | (build-system ruby-build-system) |
501 | (arguments |
502 | ;; No tests |
503 | `(#:tests? #f)) |
504 | (propagated-inputs |
505 | `(("ruby-json" ,ruby-json) |
506 | ("ruby-simplecov" ,ruby-simplecov) |
507 | ("ruby-term-ansicolor" ,ruby-term-ansicolor) |
508 | ("ruby-thor" ,ruby-thor) |
509 | ("ruby-tins" ,ruby-tins))) |
510 | (native-inputs |
511 | `(("bundler" ,bundler) |
512 | ("ruby-rspec" ,ruby-rspec))) |
513 | (synopsis |
514 | "A Ruby implementation of the Coveralls API.") |
515 | (description |
516 | "This package provides a Ruby implementation of the Coveralls API.") |
517 | (home-page "https://coveralls.io") |
518 | (license license:expat))) |
519 | |
520 | (define-public ruby-hashdiff |
521 | (package |
522 | (name "ruby-hashdiff") |
523 | (version "0.3.7") |
524 | (source |
525 | (origin |
526 | (method url-fetch) |
527 | (uri (rubygems-uri "hashdiff" version)) |
528 | (sha256 |
529 | (base32 |
530 | "0yj5l2rw8i8jc725hbcpc4wks0qlaaimr3dpaqamfjkjkxl0hjp9")))) |
531 | (build-system ruby-build-system) |
532 | (arguments |
533 | ;; No tests |
534 | `(#:tests? #f)) |
535 | (native-inputs |
536 | `(("bundler" ,bundler) |
537 | ("ruby-rspec" ,ruby-rspec))) |
538 | (synopsis |
539 | " HashDiff is a diff lib to compute the smallest difference between two hashes. ") |
540 | (description |
541 | " HashDiff is a diff lib to compute the smallest difference between two hashes. ") |
542 | (home-page |
543 | "https://github.com/liufengyun/hashdiff") |
544 | (license license:expat))) |
545 | |
546 | (define-public ruby-crack |
547 | (package |
548 | (name "ruby-crack") |
549 | (version "0.4.3") |
550 | (source |
551 | (origin |
552 | (method url-fetch) |
553 | (uri (rubygems-uri "crack" version)) |
554 | (sha256 |
555 | (base32 |
556 | "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k")))) |
557 | (build-system ruby-build-system) |
558 | (arguments |
559 | ;; No Rakefile |
560 | `(#:tests? #f)) |
561 | (propagated-inputs |
562 | `(("ruby-safe-yaml" ,ruby-safe-yaml))) |
563 | (synopsis |
564 | "Really simple JSON and XML parsing, ripped from Merb and Rails.") |
565 | (description |
566 | "Really simple JSON and XML parsing, ripped from Merb and Rails.") |
567 | (home-page "http://github.com/jnunemaker/crack") |
568 | (license license:expat))) |
569 | |
570 | (define-public ruby-webmock |
571 | (package |
572 | (name "ruby-webmock") |
573 | (version "3.4.2") |
574 | (source |
575 | (origin |
576 | (method url-fetch) |
577 | (uri (rubygems-uri "webmock" version)) |
578 | (sha256 |
579 | (base32 |
580 | "03994dxs4xayvkxqp01dd1ivhg4xxx7z35f7cxw7y2mwj3xn24ib")))) |
581 | (build-system ruby-build-system) |
582 | (propagated-inputs |
583 | `(("ruby-addressable" ,ruby-addressable) |
584 | ("ruby-crack" ,ruby-crack) |
585 | ("ruby-hashdiff" ,ruby-hashdiff))) |
586 | (native-inputs |
587 | `(("bundler" ,bundler) |
588 | ("ruby-rspec" ,ruby-rspec))) |
589 | (synopsis |
590 | "WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.") |
591 | (description |
592 | "WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.") |
593 | (home-page "http://github.com/bblimke/webmock") |
594 | (license license:expat))) |
595 | |
596 | (define-public ruby-pry-doc |
597 | (package |
598 | (name "ruby-pry-doc") |
599 | (version "0.13.4") |
600 | (source |
601 | (origin |
602 | (method url-fetch) |
603 | (uri (rubygems-uri "pry-doc" version)) |
604 | (sha256 |
605 | (base32 |
606 | "036z1nsmrxnslf5xskbv6w59p4nb03bb0j3x23xw7v35sky5q0p7")))) |
607 | (build-system ruby-build-system) |
608 | (arguments |
609 | `(#:phases |
610 | (modify-phases %standard-phases |
611 | (add-before 'build 'fix-dependencies |
612 | (lambda _ |
613 | (substitute* "Rakefile" |
614 | (("require 'latest_ruby'") "")) |
615 | #t))))) |
616 | (propagated-inputs |
617 | `(("ruby-pry" ,ruby-pry) |
618 | ("ruby-yard" ,ruby-yard))) |
619 | (native-inputs |
620 | `(("ruby-rspec" ,ruby-rspec))) |
621 | (synopsis |
622 | "Pry Doc is a Pry REPL plugin. It provides extended documentation support for the |
623 | REPL by means of improving the `show-doc` and `show-source` commands. With help |
624 | of the plugin the commands are be able to display the source code and the docs |
625 | of Ruby methods and classes implemented in C. |
626 | documentation |
627 | ") |
628 | (description |
629 | "Pry Doc is a Pry REPL plugin. It provides extended documentation support for the |
630 | REPL by means of improving the `show-doc` and `show-source` commands. With help |
631 | of the plugin the commands are be able to display the source code and the docs |
632 | of Ruby methods and classes implemented in C. |
633 | documentation |
634 | ") |
635 | (home-page "https://github.com/pry/pry-doc") |
636 | (license license:expat))) |
637 | |
638 | (define-public ruby-rest-client |
639 | (package |
640 | (name "ruby-rest-client") |
641 | (version "2.0.2") |
642 | (source |
643 | (origin |
644 | (method url-fetch) |
645 | (uri (rubygems-uri "rest-client" version)) |
646 | (sha256 |
647 | (base32 |
648 | "1hzcs2r7b5bjkf2x2z3n8z6082maz0j8vqjiciwgg3hzb63f958j")))) |
649 | (build-system ruby-build-system) |
650 | (arguments |
651 | ;; Cyclic dependency on rubocop |
652 | `(#:tests? #f)) |
653 | ;#:phases |
654 | ;(modify-phases %standard-phases |
655 | ; (add-before 'build 'fix-dependency-version |
656 | ; (lambda _ |
657 | ; (substitute* "rest-client.gemspec" |
658 | ; (("webmock>.freeze, \\[\"~> 2.0") |
659 | ; "webmock>.freeze, [\"~> 3.0")) |
660 | ; #t))))) |
661 | (propagated-inputs |
662 | `(("ruby-http-cookie" ,ruby-http-cookie) |
663 | ("ruby-mime-types" ,ruby-mime-types) |
664 | ("ruby-netrc" ,ruby-netrc))) |
665 | ;(native-inputs |
666 | ; `(("bundler" ,bundler) |
667 | ; ("ruby-pry" ,ruby-pry) |
668 | ; ("ruby-pry-doc" ,ruby-pry-doc) |
669 | ; ("ruby-rspec" ,ruby-rspec) |
670 | ; ("ruby-webmock" ,ruby-webmock))) |
671 | (synopsis |
672 | "A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete.") |
673 | (description |
674 | "This package provides a simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete.") |
675 | (home-page |
676 | "https://github.com/rest-client/rest-client") |
677 | (license license:expat))) |
678 | |
679 | (define-public ruby-simplecov-fix |
680 | (package |
681 | (inherit ruby-simplecov) |
682 | (version "0.16.1") |
683 | (source |
684 | (origin |
685 | (method url-fetch) |
686 | (uri (rubygems-uri "simplecov" version)) |
687 | (sha256 |
688 | (base32 |
689 | "1sfyfgf7zrp2n42v7rswkqgk3bbwk1bnsphm24y7laxv3f8z0947")))))) |
690 | |
691 | (define-public ruby-ast |
692 | (package |
693 | (name "ruby-ast") |
694 | (version "2.4.0") |
695 | (source |
696 | (origin |
697 | (method url-fetch) |
698 | (uri (rubygems-uri "ast" version)) |
699 | (sha256 |
700 | (base32 |
701 | "184ssy3w93nkajlz2c70ifm79jp3j737294kbc5fjw69v1w0n9x7")))) |
702 | (build-system ruby-build-system) |
703 | (arguments |
704 | `(#:phases |
705 | (modify-phases %standard-phases |
706 | (add-before 'build 'fix-dependency-version |
707 | (lambda _ |
708 | (substitute* "ast.gemspec" |
709 | (("~> 10.0") ">= 10.0") |
710 | (("~> 1.6.7") "~> 2.0") ; rest-client |
711 | (("~> 1.25") ">= 3.0")) ; mime-types |
712 | #t))))) |
713 | (native-inputs |
714 | `(("bundler" ,bundler) |
715 | ("ruby-bacon" ,ruby-bacon) |
716 | ("ruby-bacon-colored-output" ,ruby-bacon-colored-output) |
717 | ("ruby-coveralls" ,ruby-coveralls) |
718 | ("ruby-json-pure" ,ruby-json-pure) |
719 | ("ruby-kramdown" ,ruby-kramdown) |
720 | ("ruby-mime-types" ,ruby-mime-types) |
721 | ("ruby-rake" ,ruby-rake) |
722 | ("ruby-rest-client" ,ruby-rest-client) |
723 | ("ruby-simplecov" ,ruby-simplecov-fix) |
724 | ("ruby-yard" ,ruby-yard))) |
725 | (synopsis |
726 | "A library for working with Abstract Syntax Trees.") |
727 | (description |
728 | "This package provides a library for working with Abstract Syntax Trees.") |
729 | (home-page "https://whitequark.github.io/ast/") |
730 | (license license:expat))) |
731 | |
732 | (define-public ruby-powerpack |
733 | (package |
734 | (name "ruby-powerpack") |
735 | (version "0.1.2") |
736 | (source |
737 | (origin |
738 | (method url-fetch) |
739 | (uri (rubygems-uri "powerpack" version)) |
740 | (sha256 |
741 | (base32 |
742 | "1r51d67wd467rpdfl6x43y84vwm8f5ql9l9m85ak1s2sp3nc5hyv")))) |
743 | (build-system ruby-build-system) |
744 | (arguments |
745 | ;; No tests |
746 | `(#:tests? #f)) |
747 | (synopsis |
748 | "A few useful extensions to core Ruby classes.") |
749 | (description |
750 | "This package provides a few useful extensions to core Ruby classes.") |
751 | (home-page |
752 | "https://github.com/bbatsov/powerpack") |
753 | (license license:expat))) |
754 | |
755 | (define-public ruby-rainbow |
756 | (package |
757 | (name "ruby-rainbow") |
758 | (version "3.0.0") |
759 | (source |
760 | (origin |
761 | (method url-fetch) |
762 | (uri (rubygems-uri "rainbow" version)) |
763 | (sha256 |
764 | (base32 |
765 | "0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk")))) |
766 | (build-system ruby-build-system) |
767 | (arguments |
768 | ;; No tests |
769 | `(#:tests? #f)) |
770 | (synopsis |
771 | "Colorize printed text on ANSI terminals") |
772 | (description |
773 | "Colorize printed text on ANSI terminals") |
774 | (home-page "https://github.com/sickill/rainbow") |
775 | (license license:expat))) |
776 | |
777 | (define-public ruby-progressbar |
778 | (package |
779 | (name "ruby-progressbar") |
780 | (version "1.10.0") |
781 | (source |
782 | (origin |
783 | (method url-fetch) |
784 | (uri (rubygems-uri "ruby-progressbar" version)) |
785 | (sha256 |
786 | (base32 |
787 | "1cv2ym3rl09svw8940ny67bav7b2db4ms39i4raaqzkf59jmhglk")))) |
788 | (build-system ruby-build-system) |
789 | (arguments |
790 | ;; No tests |
791 | `(#:tests? #f)) |
792 | (synopsis |
793 | "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. The output can be customized with a flexible formatting system including: percentage, bars of various formats, elapsed time and estimated time remaining.") |
794 | (description |
795 | "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. The output can be customized with a flexible formatting system including: percentage, bars of various formats, elapsed time and estimated time remaining.") |
796 | (home-page |
797 | "https://github.com/jfelchner/ruby-progressbar") |
798 | (license license:expat))) |
799 | |
800 | (define-public ruby-unicode-display-width |
801 | (package |
802 | (name "ruby-unicode-display-width") |
803 | (version "1.4.0") |
804 | (source |
805 | (origin |
806 | (method url-fetch) |
807 | (uri (rubygems-uri "unicode-display_width" version)) |
808 | (sha256 |
809 | (base32 |
810 | "0040bsdpcmvp8w31lqi2s9s4p4h031zv52401qidmh25cgyh4a57")))) |
811 | (build-system ruby-build-system) |
812 | (arguments |
813 | ;; Tests try to run "rspec", but we don't have a binary with that name... |
814 | `(#:tests? #f)) |
815 | (synopsis |
816 | "[Unicode 11.0.0] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data.") |
817 | (description |
818 | "[Unicode 11.0.0] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data.") |
819 | (home-page |
820 | "http://github.com/janlelis/unicode-display_width") |
821 | (license license:expat))) |
822 | |
823 | (define-public ruby-racc |
824 | (package |
825 | (name "ruby-racc") |
826 | (version "1.4.14") |
827 | (source |
828 | (origin |
829 | (method url-fetch) |
830 | (uri (rubygems-uri "racc" version)) |
831 | (sha256 |
832 | (base32 |
833 | "00yhs2ag7yy5v83mqvkbnhk9bvsh6mx3808k53n61ddzx446v1zl")))) |
834 | (build-system ruby-build-system) |
835 | (native-inputs |
836 | `(("ruby-hoe" ,ruby-hoe) |
837 | ("ruby-rake-compiler" ,ruby-rake-compiler))) |
838 | (synopsis |
839 | "Racc is a LALR(1) parser generator. |
840 | It is written in Ruby itself, and generates Ruby program. |
841 | |
842 | NOTE: Ruby 1.8.x comes with Racc runtime module. You |
843 | can run your parsers generated by racc 1.4.x out of the |
844 | box.") |
845 | (description |
846 | "Racc is a LALR(1) parser generator. |
847 | It is written in Ruby itself, and generates Ruby program. |
848 | |
849 | NOTE: Ruby 1.8.x comes with Racc runtime module. You |
850 | can run your parsers generated by racc 1.4.x out of the |
851 | box.") |
852 | (home-page |
853 | "http://i.loveruby.net/en/projects/racc/") |
854 | (license license:expat))) |
855 | |
856 | (define-public ragel |
857 | (package |
858 | (name "ragel") |
859 | (version "6.10") |
860 | (source |
861 | (origin |
862 | (method url-fetch) |
863 | (uri (string-append "https://www.colm.net/files/ragel/ragel-" |
864 | version ".tar.gz")) |
865 | (sha256 |
866 | (base32 |
867 | "0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az")))) |
868 | (build-system gnu-build-system) |
869 | (home-page "https://www.colm.net/open-source/ragel/") |
870 | (synopsis "") |
871 | (description "") |
872 | (license license:gpl2+))) |
873 | |
874 | (define-public ruby-cliver |
875 | (package |
876 | (name "ruby-cliver") |
877 | (version "0.3.2") |
878 | (source |
879 | (origin |
880 | (method url-fetch) |
881 | (uri (rubygems-uri "cliver" version)) |
882 | (sha256 |
883 | (base32 |
884 | "096f4rj7virwvqxhkavy0v55rax10r4jqf8cymbvn4n631948xc7")))) |
885 | (build-system ruby-build-system) |
886 | (arguments |
887 | ;; No tests |
888 | `(#:tests? #f)) |
889 | (synopsis |
890 | "Assertions for command-line dependencies") |
891 | (description |
892 | "Assertions for command-line dependencies") |
893 | (home-page |
894 | "https://www.github.com/yaauie/cliver") |
895 | (license license:expat))) |
896 | |
897 | (define-public ruby-parser |
898 | (package |
899 | (name "ruby-parser") |
900 | (version "2.5.1.2") |
901 | (source |
902 | (origin |
903 | (method url-fetch) |
904 | (uri (rubygems-uri "parser" version)) |
905 | (sha256 |
906 | (base32 |
907 | "1zp89zg7iypncszxsjp8kiccrpbdf728jl449g6cnfkz990fyb5k")))) |
908 | (build-system ruby-build-system) |
909 | (propagated-inputs `(("ruby-ast" ,ruby-ast))) |
910 | (native-inputs |
911 | `(("bundler" ,bundler) |
912 | ("ragel" ,ragel) |
913 | ("ruby-cliver" ,ruby-cliver) |
914 | ("ruby-racc" ,ruby-racc) |
915 | ("ruby-simplecov" ,ruby-simplecov))) |
916 | (synopsis "A Ruby parser written in pure Ruby.") |
917 | (description |
918 | "This package provides a Ruby parser written in pure Ruby.") |
919 | (home-page |
920 | "https://github.com/whitequark/parser") |
921 | (license license:expat))) |
922 | |
923 | (define-public ruby-jaro-winkler |
924 | (package |
925 | (name "ruby-jaro-winkler") |
926 | (version "1.5.1") |
927 | (source |
928 | (origin |
929 | (method url-fetch) |
930 | (uri (rubygems-uri "jaro_winkler" version)) |
931 | (sha256 |
932 | (base32 |
933 | "0rr797nqz081bfk30m2apj5h24bg5d1jr1c8p3xwx4hbwsrbclah")))) |
934 | (build-system ruby-build-system) |
935 | (arguments |
936 | ;; No Rakefile |
937 | `(#:tests? #f)) |
938 | (synopsis |
939 | "jaro_winkler is an implementation of Jaro-Winkler \\ |
940 | distance algorithm which is written in C extension and will fallback to pure \\ |
941 | Ruby version in platforms other than MRI/KRI like JRuby or Rubinius. Both of \\ |
942 | C and Ruby implementation support any kind of string encoding, such as \\ |
943 | UTF-8, EUC-JP, Big5, etc.") |
944 | (description |
945 | "jaro_winkler is an implementation of Jaro-Winkler \\ |
946 | distance algorithm which is written in C extension and will fallback to pure \\ |
947 | Ruby version in platforms other than MRI/KRI like JRuby or Rubinius. Both of \\ |
948 | C and Ruby implementation support any kind of string encoding, such as \\ |
949 | UTF-8, EUC-JP, Big5, etc.") |
950 | (home-page |
951 | "https://github.com/tonytonyjan/jaro_winkler") |
952 | (license license:expat))) |
953 | |
954 | (define-public ruby-rubocop |
955 | (package |
956 | (name "ruby-rubocop") |
957 | (version "0.58.2") |
958 | (source |
959 | (origin |
960 | (method url-fetch) |
961 | (uri (rubygems-uri "rubocop" version)) |
962 | (sha256 |
963 | (base32 |
964 | "0fc1fw9z98qd91ipsh9hdvpcb401qvkhw518s35l8a67sv4vdnj3")))) |
965 | (build-system ruby-build-system) |
966 | (arguments |
967 | ;; No Rakefile |
968 | `(#:tests? #f)) |
969 | (propagated-inputs |
970 | `(("ruby-jaro-winkler" ,ruby-jaro-winkler) |
971 | ("ruby-parallel" ,ruby-parallel) |
972 | ("ruby-parser" ,ruby-parser) |
973 | ("ruby-powerpack" ,ruby-powerpack) |
974 | ("ruby-rainbow" ,ruby-rainbow) |
975 | ("ruby-progressbar" ,ruby-progressbar) |
976 | ("ruby-unicode-display-width" |
977 | ,ruby-unicode-display-width))) |
978 | (synopsis |
979 | " Automatic Ruby code style checking tool. |
980 | Aims to enforce the community-driven Ruby Style Guide. |
981 | ") |
982 | (description |
983 | " Automatic Ruby code style checking tool. |
984 | Aims to enforce the community-driven Ruby Style Guide. |
985 | ") |
986 | (home-page "http://www.rubocop.org/") |
987 | (license license:expat))) |
988 | |
989 | (define-public ruby-pdf-reader |
990 | (package |
991 | (name "ruby-pdf-reader") |
992 | (version "2.1.0") |
993 | (source (origin |
994 | (method url-fetch) |
995 | (uri (rubygems-uri "pdf-reader" version)) |
996 | (sha256 |
997 | (base32 |
998 | "1b3ig4wpcgdbqa7yw0ahwbmikkkywn2a22bfmrknl5ls7g066x45")))) |
999 | (build-system ruby-build-system) |
1000 | (native-inputs |
1001 | `(("bundler" ,bundler) |
1002 | ("rspec" ,ruby-rspec) |
1003 | ("cane" ,ruby-cane) |
1004 | ("morecane" ,ruby-morecane))) |
1005 | (propagated-inputs |
1006 | `(("afm" ,ruby-afm) |
1007 | ("ascii85" ,ruby-ascii85) |
1008 | ("hashery" ,ruby-hashery) |
1009 | ("ruby-rc4" ,ruby-rc4) |
1010 | ("ttfunk" ,ruby-ttfunk-fix))) |
1011 | (arguments `(#:test-target "spec")) |
1012 | (home-page "http://github.com/yob/pdf-reader") |
1013 | (synopsis "") |
1014 | (description "") |
1015 | (license license:gpl3+))) |
1016 | |
1017 | (define-public ruby-pdf-inspector |
1018 | (package |
1019 | (name "ruby-pdf-inspector") |
1020 | (version "1.3.0") |
1021 | (source (origin |
1022 | (method url-fetch) |
1023 | (uri (rubygems-uri "pdf-inspector" version)) |
1024 | (sha256 |
1025 | (base32 |
1026 | "1g853az4xzgqxr5xiwhb76g4sqmjg4s79mm35mp676zjsrwpa47w")))) |
1027 | (build-system ruby-build-system) |
1028 | (propagated-inputs |
1029 | `(("pdf-reader" ,ruby-pdf-reader))) |
1030 | (arguments `(#:tests? #f)); No rakefile |
1031 | (home-page "https://github.com/prawnpdf/pdf-inspector") |
1032 | (synopsis "") |
1033 | (description "") |
1034 | (license license:gpl3+))) |
1035 | |
1036 | (define-public ruby-pdf-core |
1037 | (package |
1038 | (name "ruby-pdf-core") |
1039 | (version "0.8.1") |
1040 | (source (origin |
1041 | (method url-fetch) |
1042 | (uri (rubygems-uri "pdf-core" version)) |
1043 | (sha256 |
1044 | (base32 |
1045 | "15d6m99bc8bbzlkcg13qfpjjzphfg5x905pjbfygvpcxsm8gnsvg")))) |
1046 | (build-system ruby-build-system) |
1047 | (native-inputs |
1048 | `(("bundler" ,bundler) |
1049 | ("ruby-pdf-inspector" ,ruby-pdf-inspector) |
1050 | ("ruby-pdf-reader" ,ruby-pdf-reader) |
1051 | ("ruby-rspec" ,ruby-rspec))) |
1052 | (arguments |
1053 | `(#:tests? #f; Cyclic dependency on rubocop |
1054 | #:phases |
1055 | (modify-phases %standard-phases |
1056 | (add-before 'build 'fix-pdf-reader-dep |
1057 | (lambda _ |
1058 | (substitute* "pdf-core.gemspec" |
1059 | (("~> 1.2") "~> 2.0") |
1060 | (("~> 1.1.0") "~> 1.3.0")) |
1061 | #t))))) |
1062 | (home-page "http://prawn.majesticseacreature.com/") |
1063 | (synopsis "") |
1064 | (description "") |
1065 | (license license:gpl3+))) |
1066 | |
1067 | (define-public ruby-yard |
1068 | (package |
1069 | (name "ruby-yard") |
1070 | (version "0.9.16") |
1071 | (source (origin |
1072 | (method url-fetch) |
1073 | (uri (rubygems-uri "yard" version)) |
1074 | (sha256 |
1075 | (base32 |
1076 | "0lmmr1839qgbb3zxfa7jf5mzy17yjl1yirwlgzdhws4452gqhn67")))) |
1077 | (build-system ruby-build-system) |
1078 | (arguments `(#:test-target "spec")) |
1079 | (home-page "http://yardoc.org/") |
1080 | (synopsis "") |
1081 | (description "") |
1082 | (license license:expat))) |
1083 | |
1084 | (define-public ruby-prawn |
1085 | (package |
1086 | (name "ruby-prawn") |
1087 | (version "2.2.2") |
1088 | (source (origin |
1089 | (method url-fetch) |
1090 | (uri (rubygems-uri "prawn" version)) |
1091 | (sha256 |
1092 | (base32 |
1093 | "1qdjf1v6sfl44g3rqxlg8k4jrzkwaxgvh2l4xws97a8f3xv4na4m")))) |
1094 | (build-system ruby-build-system) |
1095 | (propagated-inputs |
1096 | `(("pdf-core" ,ruby-pdf-core) |
1097 | ("ttfunk" ,ruby-ttfunk-fix))) |
1098 | (native-inputs |
1099 | `(("bundler" ,bundler) |
1100 | ("ruby-pdf-inspector" ,ruby-pdf-inspector) |
1101 | ("ruby-rspec" ,ruby-rspec) |
1102 | ("ruby-simplecove" ,ruby-simplecov) |
1103 | ("ruby-yard" ,ruby-yard))) |
1104 | (arguments `(#:tests? #f)); no tests |
1105 | (home-page "http://prawnpdf.org/") |
1106 | (synopsis "") |
1107 | (description "") |
1108 | (license license:gpl3+))) |
1109 | |
1110 | (define-public ruby-prawn-table |
1111 | (package |
1112 | (name "ruby-prawn-table") |
1113 | (version "0.2.2") |
1114 | (source (origin |
1115 | (method url-fetch) |
1116 | (uri (rubygems-uri "prawn-table" version)) |
1117 | (sha256 |
1118 | (base32 |
1119 | "1nxd6qmxqwl850icp18wjh5k0s3amxcajdrkjyzpfgq0kvilcv9k")))) |
1120 | (build-system ruby-build-system) |
1121 | (propagated-inputs |
1122 | `(("prawn" ,ruby-prawn))) |
1123 | (arguments `(#:tests? #f)); No rakefile |
1124 | (home-page "https://github.com/prawnpdf/prawn-table") |
1125 | (synopsis "") |
1126 | (description "") |
1127 | (license license:gpl3+))) |
1128 | |
1129 | (define-public ruby-kramdown |
1130 | (package |
1131 | (name "ruby-kramdown") |
1132 | (version "1.17.0") |
1133 | (source (origin |
1134 | (method url-fetch) |
1135 | (uri (rubygems-uri "kramdown" version)) |
1136 | (sha256 |
1137 | (base32 |
1138 | "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq")))) |
1139 | (build-system ruby-build-system) |
1140 | (native-inputs |
1141 | `(("prawn" ,ruby-prawn) |
1142 | ("prawn-table" ,ruby-prawn-table))) |
1143 | (arguments `(#:tests? #f)); FIXME: failure |
1144 | (home-page "http://kramdown.gettalong.org/") |
1145 | (synopsis "") |
1146 | (description "") |
1147 | (license license:expat))) |
1148 | |
1149 | (define-public ruby-liquid |
1150 | (package |
1151 | (name "ruby-liquid") |
1152 | (version "4.0.0") |
1153 | (source (origin |
1154 | (method url-fetch) |
1155 | (uri (rubygems-uri "liquid" version)) |
1156 | (sha256 |
1157 | (base32 |
1158 | "17fa0jgwm9a935fyvzy8bysz7j5n1vf1x2wzqkdfd5k08dbw3x2y")))) |
1159 | (build-system ruby-build-system) |
1160 | (arguments `(#:tests? #f)); No rakefile |
1161 | (home-page "http://www.liquidmarkup.org/") |
1162 | (synopsis "") |
1163 | (description "") |
1164 | (license license:expat))) |
1165 | |
1166 | (define-public ruby-mercenary |
1167 | (package |
1168 | (name "ruby-mercenary") |
1169 | (version "0.3.6") |
1170 | (source (origin |
1171 | (method url-fetch) |
1172 | (uri (rubygems-uri "mercenary" version)) |
1173 | (sha256 |
1174 | (base32 |
1175 | "10la0xw82dh5mqab8bl0dk21zld63cqxb1g16fk8cb39ylc4n21a")))) |
1176 | (build-system ruby-build-system) |
1177 | (native-inputs |
1178 | `(("bundler" ,bundler))) |
1179 | (arguments `(#:test-target "spec")) |
1180 | (home-page "https://github.com/jekyll/mercenary") |
1181 | (synopsis "") |
1182 | (description "") |
1183 | (license license:expat))) |
1184 | |
1185 | (define-public ruby-forwardable-extended |
1186 | (package |
1187 | (name "ruby-forwardable-extended") |
1188 | (version "2.6.0") |
1189 | (source (origin |
1190 | (method url-fetch) |
1191 | (uri (rubygems-uri "forwardable-extended" version)) |
1192 | (sha256 |
1193 | (base32 |
1194 | "15zcqfxfvsnprwm8agia85x64vjzr2w0xn9vxfnxzgcv8s699v0v")))) |
1195 | (build-system ruby-build-system) |
1196 | (native-inputs |
1197 | `(("bundler" ,bundler) |
1198 | ("ruby-rspec" ,ruby-rspec) |
1199 | ("ruby-rubocop" ,ruby-rubocop))) |
1200 | (arguments `(#:tests? #f)); Cyclic dependency on luna-rspec-formatters |
1201 | (home-page "http://github.com/envygeeks/forwardable-extended") |
1202 | (synopsis "") |
1203 | (description "") |
1204 | (license license:expat))) |
1205 | |
1206 | (define-public ruby-pathutil |
1207 | (package |
1208 | (name "ruby-pathutil") |
1209 | (version "0.16.1") |
1210 | (source (origin |
1211 | (method url-fetch) |
1212 | (uri (rubygems-uri "pathutil" version)) |
1213 | (sha256 |
1214 | (base32 |
1215 | "0wc18ms1rzi44lpjychyw2a96jcmgxqdvy2949r4vvb5f4p0lgvz")))) |
1216 | (build-system ruby-build-system) |
1217 | (propagated-inputs |
1218 | `(("forwardable-extended" ,ruby-forwardable-extended))) |
1219 | (native-inputs |
1220 | `(("bundler" ,bundler) |
1221 | ("rspec" ,ruby-rspec))) |
1222 | (arguments `(#:tests? #f)); cannot load such file -- /tmp/guix-build-ruby-pathutil-0.16.0.drv-0/gem/benchmark/support/task |
1223 | (home-page "http://github.com/envygeeks/pathutil") |
1224 | (synopsis "") |
1225 | (description "") |
1226 | (license license:expat))) |
1227 | |
1228 | (define-public ruby-rouge |
1229 | (package |
1230 | (name "ruby-rouge") |
1231 | (version "3.2.1") |
1232 | (source (origin |
1233 | (method url-fetch) |
1234 | (uri (rubygems-uri "rouge" version)) |
1235 | (sha256 |
1236 | (base32 |
1237 | "0h79gn2wmn1wix2d27lgiaimccyj8gvizrllyym500pir408x62f")))) |
1238 | (build-system ruby-build-system) |
1239 | (arguments `(#:tests? #f)); No rakefile |
1240 | (home-page "http://rouge.jneen.net/") |
1241 | (synopsis "") |
1242 | (description "") |
1243 | (license (list |
1244 | ;; rouge is licensed under expat |
1245 | license:expat |
1246 | ;; pygments is licensed under bsd-2 |
1247 | license:bsd-2)))) |
1248 | |
1249 | (define-public ruby-rouge-2 |
1250 | (package |
1251 | (inherit ruby-rouge) |
1252 | (version "2.2.1") |
1253 | (source (origin |
1254 | (method url-fetch) |
1255 | (uri (rubygems-uri "rouge" version)) |
1256 | (sha256 |
1257 | (base32 |
1258 | "02kpahk5nkc33yxnn75649kzxaz073wvazr2zyg491nndykgnvcs")))))) |
1259 | |
1260 | (define-public ruby-hashie |
1261 | (package |
1262 | (name "ruby-hashie") |
1263 | (version "3.6.0") |
1264 | (source (origin |
1265 | (method url-fetch) |
1266 | (uri (rubygems-uri "hashie" version)) |
1267 | (sha256 |
1268 | (base32 |
1269 | "13bdzfp25c8k51ayzxqkbzag3wj5gc1jd8h7d985nsq6pn57g5xh")))) |
1270 | (build-system ruby-build-system) |
1271 | (native-inputs |
1272 | `(("bundler" ,bundler))) |
1273 | (arguments `(#:tests? #f)); FIXME: Could not locate Gemfile or .bundle/ directory |
1274 | (home-page "https://github.com/intridea/hashie") |
1275 | (synopsis "") |
1276 | (description "") |
1277 | (license license:expat))) |
1278 | |
1279 | (define-public ruby-heredoc-unindent |
1280 | (package |
1281 | (name "ruby-heredoc-unindent") |
1282 | (version "1.2.0") |
1283 | (source (origin |
1284 | (method url-fetch) |
1285 | (uri (rubygems-uri "heredoc_unindent" version)) |
1286 | (sha256 |
1287 | (base32 |
1288 | "14ijr2fsjwhrkjkcaz81d5xnfa4vvgvcflrff83avqw9klm011yw")))) |
1289 | (build-system ruby-build-system) |
1290 | (native-inputs |
1291 | `(("hoe" ,ruby-hoe))) |
1292 | (home-page "https://github.com/adrianomitre/heredoc_unindent") |
1293 | (synopsis "") |
1294 | (description "") |
1295 | (license license:expat))) |
1296 | |
1297 | (define-public ruby-safe-yaml |
1298 | (package |
1299 | (name "ruby-safe-yaml") |
1300 | (version "1.0.4") |
1301 | (source (origin |
1302 | (method url-fetch) |
1303 | (uri (rubygems-uri "safe_yaml" version)) |
1304 | (sha256 |
1305 | (base32 |
1306 | "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094")))) |
1307 | (build-system ruby-build-system) |
1308 | (native-inputs |
1309 | `(("rspec" ,ruby-rspec) |
1310 | ("hashie" ,ruby-hashie) |
1311 | ("heredoc_unindent" ,ruby-heredoc-unindent))) |
1312 | (arguments `(#:test-target "spec" |
1313 | #:tests? #f));; FIXME: one failure only |
1314 | (home-page "https://github.com/dtao/safe_yaml") |
1315 | (synopsis "") |
1316 | (description "") |
1317 | (license license:expat))) |
1318 | |
1319 | (define-public ruby-http-parser.rb |
1320 | (package |
1321 | (name "ruby-http-parser.rb") |
1322 | (version "0.6.0") |
1323 | (source |
1324 | (origin |
1325 | (method url-fetch) |
1326 | (uri (rubygems-uri "http_parser.rb" version)) |
1327 | (sha256 |
1328 | (base32 |
1329 | "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi")))) |
1330 | (build-system ruby-build-system) |
1331 | (arguments |
1332 | ;; No tests |
1333 | `(#:tests? #f)) |
1334 | (native-inputs |
1335 | `(("ruby-rake-compiler" ,ruby-rake-compiler) |
1336 | ("ruby-rspec" ,ruby-rspec))) |
1337 | (synopsis |
1338 | "Ruby bindings to http://github.com/ry/http-parser and http://github.com/a2800276/http-parser.java") |
1339 | (description |
1340 | "Ruby bindings to http://github.com/ry/http-parser and http://github.com/a2800276/http-parser.java") |
1341 | (home-page |
1342 | "http://github.com/tmm1/http_parser.rb") |
1343 | (license license:expat))) |
1344 | |
1345 | (define-public ruby-em-websocket |
1346 | (package |
1347 | (name "ruby-em-websocket") |
1348 | (version "0.5.1") |
1349 | (source |
1350 | (origin |
1351 | (method url-fetch) |
1352 | (uri (rubygems-uri "em-websocket" version)) |
1353 | (sha256 |
1354 | (base32 |
1355 | "1bsw8vjz0z267j40nhbmrvfz7dvacq4p0pagvyp17jif6mj6v7n3")))) |
1356 | (build-system ruby-build-system) |
1357 | (arguments |
1358 | ;; No tests |
1359 | `(#:tests? #f)) |
1360 | (propagated-inputs |
1361 | `(("ruby-eventmachine" ,ruby-eventmachine) |
1362 | ("ruby-http-parser.rb" ,ruby-http-parser.rb))) |
1363 | (native-inputs |
1364 | `(("bundler" ,bundler) |
1365 | ("ruby-rspec" ,ruby-rspec))) |
1366 | (synopsis "EventMachine based WebSocket server") |
1367 | (description |
1368 | "EventMachine based WebSocket server") |
1369 | (home-page |
1370 | "http://github.com/igrigorik/em-websocket") |
1371 | (license #f))) |
1372 | |
1373 | (define-public ruby-jekyll |
1374 | (package |
1375 | (name "ruby-jekyll") |
1376 | (version "3.8.3") |
1377 | (source (origin |
1378 | (method url-fetch) |
1379 | (uri (rubygems-uri "jekyll" version)) |
1380 | (sha256 |
1381 | (base32 |
1382 | "1iw90wihk9dscgmppf5v6lysg3kjmnx50mjyl4gghkdb4spw97xk")))) |
1383 | (build-system ruby-build-system) |
1384 | (arguments |
1385 | ;; No rakefile, but a test subdirectory |
1386 | `(#:tests? #f)) |
1387 | (propagated-inputs |
1388 | `(("ruby-addressable" ,ruby-addressable) |
1389 | ("ruby-colorator" ,ruby-colorator) |
1390 | ("ruby-em-websocket" ,ruby-em-websocket) |
1391 | ("ruby-i18n" ,ruby-i18n-fix) |
1392 | ("ruby-jekyll-sass-converter" ,ruby-jekyll-sass-converter) |
1393 | ("ruby-jekyll-watch" ,ruby-jekyll-watch) |
1394 | ("ruby-kramdown" ,ruby-kramdown) |
1395 | ("ruby-liquid" ,ruby-liquid) |
1396 | ("ruby-mercenary" ,ruby-mercenary) |
1397 | ("ruby-pathutil" ,ruby-pathutil) |
1398 | ("ruby-rouge" ,ruby-rouge-2) |
1399 | ("ruby-safe-yaml" ,ruby-safe-yaml))) |
1400 | (home-page "https://jekyllrb.com/") |
1401 | (synopsis "Static site generator") |
1402 | (description "Jekyll is a simple, blog aware, static site generator.") |
1403 | (license license:expat))) |
1404 | |
1405 | (define-public ruby-jekyll-paginate-v2 |
1406 | (package |
1407 | (name "ruby-jekyll-paginate-v2") |
1408 | (version "1.9.4") |
1409 | (source (origin |
1410 | (method url-fetch) |
1411 | (uri (rubygems-uri "jekyll-paginate-v2" version)) |
1412 | (sha256 |
1413 | (base32 |
1414 | "01fgy8mg4kp5pi12vrmk3z743h005n1qyxk2ajirgyhg0qpvml1p")))) |
1415 | (build-system ruby-build-system) |
1416 | (propagated-inputs |
1417 | `(("ruby-jekyll" ,ruby-jekyll))) |
1418 | ;(arguments `(#:tests? #f)) |
1419 | (home-page "https://github.com/sverrirs/jekyll-paginate-v2") |
1420 | (synopsis "") |
1421 | (description "") |
1422 | (license license:expat))) |
1423 |