diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-23 19:26:22 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 10:57:53 +0000 |
commit | 2062150947e1c702865c4de6d5ef7b1429a29910 (patch) | |
tree | bd4ba3b7fcadf8300403d08bf1e452606b48d137 | |
parent | c9081555f5b63ac37b9afa20256432fe4835b5ab (diff) | |
download | gnu-guix-2062150947e1c702865c4de6d5ef7b1429a29910.tar gnu-guix-2062150947e1c702865c4de6d5ef7b1429a29910.tar.gz |
gnu: Add ruby-with-advisory-lock.
* gnu/packages/rails.scm (ruby-with-advisory-lock): New variable.
-rw-r--r-- | gnu/packages/rails.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 1670edfff3..84d735c465 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -593,6 +593,28 @@ API.") "https://github.com/rails/web-console") (license license:expat))) +(define-public ruby-with-advisory-lock + (package + (name "ruby-with-advisory-lock") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "with_advisory_lock" version)) + (sha256 + (base32 + "1gdwy0mmhn199n1sh42j14m47chbhbdym3sah4yz3igpj1l956r7")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) + (propagated-inputs + `(("ruby-activerecord" ,ruby-activerecord))) + (synopsis "Advisory locking for ActiveRecord") + (description "Advisory locking for ActiveRecord") + (home-page + "https://github.com/mceachen/with_advisory_lock") + (license license:expat))) + (define-public ruby-rails (package (name "ruby-rails") |