From 24072e0133aeafa8f6df4706760ceda693c18f0e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 18 Mar 2018 22:19:05 +0000 Subject: gnu: Add ruby-squasher. --- gnu/packages/rails.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index a0ad9f7b52..4fa4427cc2 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -595,3 +595,25 @@ (define-public ruby-rails "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))) -- cgit v1.2.3