mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-17 16:38:12 -05:00
gnu: Add ruby-rack-cache.
* gnu/packages/ruby.scm (ruby-rack-cache): New variable.
This commit is contained in:
parent
6cfc552477
commit
4d29594933
1 changed files with 24 additions and 0 deletions
|
@ -7179,6 +7179,30 @@ (define-public ruby-rack-next
|
||||||
"0msf14655nfcq1kgmib6932lgzm9nw3nb0m3c7nh6nj4sx30yxfr"))))
|
"0msf14655nfcq1kgmib6932lgzm9nw3nb0m3c7nh6nj4sx30yxfr"))))
|
||||||
(arguments '())))
|
(arguments '())))
|
||||||
|
|
||||||
|
(define-public ruby-rack-cache
|
||||||
|
(package
|
||||||
|
(name "ruby-rack-cache")
|
||||||
|
(version "1.13.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (rubygems-uri "rack-cache" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1cqpax628h2mhnsjfg91c3klxwx2pkvaj061cisb0saqa99b0jgm"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; The test suite depends on ruby-memcached, which is not available in
|
||||||
|
;; Guix and bundles a very dated copy of memcached (undesirable).
|
||||||
|
#:tests? #f))
|
||||||
|
(propagated-inputs (list ruby-rack))
|
||||||
|
(synopsis "Component to enable HTTP caching for Rack-based applications")
|
||||||
|
(description "Rack::Cache is suitable as a drop-in component to enable
|
||||||
|
HTTP caching for Rack-based applications that produce freshness (Expires,
|
||||||
|
Cache-Control) and/or validation (Last-Modified, ETag) information.")
|
||||||
|
(home-page "https://github.com/rtomayko/rack-cache")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-rack-test
|
(define-public ruby-rack-test
|
||||||
(package
|
(package
|
||||||
(name "ruby-rack-test")
|
(name "ruby-rack-test")
|
||||||
|
|
Loading…
Reference in a new issue