aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-23 19:22:37 +0100
committerChristopher Baines <mail@cbaines.net>2018-12-31 10:14:46 +0000
commitc9081555f5b63ac37b9afa20256432fe4835b5ab (patch)
treebdf47d092fe73b9361863a3b8fe11dfe4be9292e
parent6a61fdc8fa598538b4c15e16ddb74bf65c50ab21 (diff)
downloadgnu-guix-c9081555f5b63ac37b9afa20256432fe4835b5ab.tar
gnu-guix-c9081555f5b63ac37b9afa20256432fe4835b5ab.tar.gz
gnu: Add ruby-discard.
* gnu/packages/rails.scm (ruby-discard): New variable.
-rw-r--r--gnu/packages/rails.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 0db866cf75..1670edfff3 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -392,6 +392,28 @@ API.")
(home-page "http://www.rubyonrails.org")
(license license:expat)))
+(define-public ruby-discard
+ (package
+ (name "ruby-discard")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "discard" version))
+ (sha256
+ (base32
+ "1vyxhy7yz6l6kkys65kd7b5lj79ajvh495qqhvzn60wlz2dpap7r"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-activerecord" ,ruby-activerecord)))
+ (synopsis
+ "Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.")
+ (description
+ "Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.")
+ (home-page
+ "https://github.com/jhawthorn/discard")
+ (license license:expat)))
+
(define-public ruby-railties
(package
(name "ruby-railties")