From 30c58daadf94d37760c07963eb6e4791dc02b7be Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 12 Jun 2020 08:36:11 -0400 Subject: [PATCH 18/58] gnu: Add ruby-slim. * gnu/packages/ruby.scm (ruby-slim): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 94b16957e0..b02e24d930 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -9579,3 +9579,29 @@ which snapshots to consider and what files to include.") defined in @file{.travis.yml} on your local machine, using @code{rvm}, @code{rbenv}, or @code{chruby} to test different versions of Ruby.") (license license:expat))) + +(define-public ruby-slim + (package + (name "ruby-slim") + (version "4.0.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/slim-template/slim.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19118dddf6n6vwzl130qgqj61wr280qrh5y9hjhmym2da3q7m90c")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; No target + (inputs + `(("temple" ,ruby-temple) + ("tilt" ,ruby-tilt))) + (synopsis "Lightweight templating engine for Ruby") + (description "Slim is a Ruby template language whose goal is reduce the +syntax to the essential parts without becoming cryptic.") + (home-page "http://slim-lang.com/") + (license license:expat))) -- 2.26.2