aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-18 22:19:05 +0000
committerChristopher Baines <mail@cbaines.net>2018-12-31 10:14:46 +0000
commit1925c28e65db4655c2b7b337da7bebf7bc801e82 (patch)
tree2153ccd49b43c64e61233de01b1715754508c57c
parent9301271871df2ee9ddae44a8307498e744c94931 (diff)
downloadgnu-guix-1925c28e65db4655c2b7b337da7bebf7bc801e82.tar
gnu-guix-1925c28e65db4655c2b7b337da7bebf7bc801e82.tar.gz
gnu: Add ruby-squasher.
-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 64b435104e..dd9ba4830f 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -618,3 +618,25 @@ API.")
"Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.")
(home-page "http://www.rubyonrails.org")
(license license:expat)))
+
+(define-public ruby-squasher
+ (package
+ (name "ruby-squasher")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "squasher" version))
+ (sha256
+ (base32
+ "1z7s4qllbqa27h4qf52h3hacs6y7zksnw32r2qkgs4spsd4x9s2h"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)))
+ (synopsis "Squash your old migrations")
+ (description "Squash your old migrations")
+ (home-page "https://github.com/jalkoby/squasher")
+ (license license:expat)))