From 01ca99e7089b5231a23d66264c00b449339c85f8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 8 Mar 2023 16:39:51 -0500 Subject: [PATCH] gnu: Add ruby-minitest-stub-const. * gnu/packages/ruby.scm (ruby-minitest-stub-const): New variable. --- gnu/packages/ruby.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d5a0aef786..751c698699 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4667,6 +4667,26 @@ (define-public ruby-minitest-sprint (home-page "https://github.com/seattlerb/minitest-sprint") (license license:expat))) +(define-public ruby-minitest-stub-const + (package + (name "ruby-minitest-stub-const") + (version "0.6") ;for Rakefile + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adammck/minitest-stub-const") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cz4r9fxplx94c7wakx0998n2gv7l21prn8pfpw6z2c33k3g2xar")))) + (build-system ruby-build-system) + (synopsis "Stub constants for the duration of a block in MiniTest") + (description "This package provides a MiniTest extension to stub constants +for the duration of a block in MiniTest.") + (home-page "https://github.com/adammck/minitest-stub-const") + (license license:expat))) + (define-public ruby-minitest-bacon (package (name "ruby-minitest-bacon")