mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 08:02:38 -05:00
gnu: Add ruby-rack-session.
* gnu/packages/ruby.scm (ruby-rack-session): New variable.
This commit is contained in:
parent
7ea341b9b8
commit
8324d39a86
1 changed files with 27 additions and 0 deletions
|
@ -7708,6 +7708,33 @@ (define-public ruby-rack-test
|
||||||
(home-page "https://github.com/rack/rack-test")
|
(home-page "https://github.com/rack/rack-test")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-rack-session
|
||||||
|
(package
|
||||||
|
(name "ruby-rack-session")
|
||||||
|
;; Stay on version 1 until all the rack users such as Rails can use rack 3
|
||||||
|
;; (rack-session 2 requires rack 3).
|
||||||
|
(version "1.0.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch) ;for tests
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/rack/rack-session")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0rv955wd7ckp5jgy5c229wmajh48jpcy8s0iv5i8ma61wf7qw0i1"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list ruby-minitest-global-expectations
|
||||||
|
ruby-minitest-sprint))
|
||||||
|
(propagated-inputs
|
||||||
|
(list ruby-rack))
|
||||||
|
(synopsis "Session management for Rack")
|
||||||
|
(description "This package provides a session management implementation
|
||||||
|
for Rack.")
|
||||||
|
(home-page "https://github.com/rack/rack-session")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-rack-protection
|
(define-public ruby-rack-protection
|
||||||
(package
|
(package
|
||||||
(name "ruby-rack-protection")
|
(name "ruby-rack-protection")
|
||||||
|
|
Loading…
Reference in a new issue