diff options
author | Stephen Paul Weber <singpolyma@singpolyma.net> | 2022-04-27 13:46:07 -0500 |
---|---|---|
committer | Raghav Gururajan <rg@raghavgururajan.name> | 2022-05-10 05:38:48 -0400 |
commit | c37d14fbea86e6cfd5a883da05632ce544ba01d3 (patch) | |
tree | 21fd592f9fbc8d972230a49d5f89c1cbe5de4529 | |
parent | d775a24344d4a910f6a19072c595bdafcf104b6f (diff) | |
download | guix-c37d14fbea86e6cfd5a883da05632ce544ba01d3.tar guix-c37d14fbea86e6cfd5a883da05632ce544ba01d3.tar.gz |
gnu: Add ruby-sucker-punch
* gnu/packages/ruby.scm (ruby-sucker-punch): New variable.
Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5cc58d0052..1e21ad1e57 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12250,3 +12250,35 @@ functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments.") (home-page "https://github.com/ruby/cmath") (license license:bsd-2))) + +(define-public ruby-sucker-punch + (package + (name "ruby-sucker-punch") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sucker_punch" version)) + (sha256 + (base32 "0yams24wndpj7dzdysvm4z1w6ggg4xvj4snxba66prahhxvik4xl")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'extract-gemspec 'less-strict-dependencies + (lambda _ + (substitute* "sucker_punch.gemspec" + (("1.0.0") "1.0"))))))) + (native-inputs + (list + ruby-pry)) + (propagated-inputs + (list + ruby-concurrent)) + (home-page "https://github.com/brandonhilkert/sucker_punch") + (synopsis "Asynchronous processing library for Ruby") + (description "Sucker Punch is a single-process Ruby asynchronous processing +library. It is perfect for asynchronous processes like emailing, data crunching +or social platform manipulation; and generally recommended for jobs that are +fast and non-mission critical like logs, emails, etc.") + (license license:expat))) |