diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-09 10:49:33 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:32 -0400 |
commit | 8324d39a8642cc812a361286af596368bebc9312 (patch) | |
tree | 161a7e9d2aff10b5b2bae31f9e6cde6bec2d7cdb /gnu/packages/ruby.scm | |
parent | 7ea341b9b8c0c028476dc09173efefd10e2b5d35 (diff) | |
download | guix-8324d39a8642cc812a361286af596368bebc9312.tar.gz |
gnu: Add ruby-rack-session.
* gnu/packages/ruby.scm (ruby-rack-session): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9af570b8aa..e3255a6de3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7708,6 +7708,33 @@ testing libraries to build on.") (home-page "https://github.com/rack/rack-test") (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 (package (name "ruby-rack-protection") |