From def5129341023dc7f138f556aa4bfcbed2e8d173 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 25 Feb 2023 21:30:26 +0100 Subject: [PATCH] gnu: java-bsh: Update to 2.1.1. * gnu/packages/java.scm (java-bsh): Update to 2.1.1. Change-Id: I70fd1e5ed63195cb8feb9fe14bd7331d34d6da4f --- gnu/packages/java.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 18e29592d8..da0259fcf6 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -10645,7 +10645,7 @@ (define-public java-jcommander (define-public java-bsh (package (name "java-bsh") - (version "2.0b6") + (version "2.1.1") (source (origin (method git-fetch) (uri (git-reference @@ -10654,7 +10654,7 @@ (define-public java-bsh (file-name (git-file-name name version)) (sha256 (base32 - "0kz3f0xjack6c9syssi4qjw1rbd3q5963sk5pmr143hiibxa9csw")) + "1a6y46yz2ba4mnlfv4bpd5pmzhgxrzk3s10xp05jz377nbp2izwg")) (modules '((guix build utils))) (snippet '(begin @@ -10670,6 +10670,10 @@ (define-public java-bsh #:make-flags (list "-DDATE" "(no date for reproducibility)") #:phases (modify-phases %standard-phases + (add-before 'check 'fix-test + (lambda _ + (substitute* "tests/junitTests/src/bsh/Issue_55_Test.java" + ((" BshScriptEngineFactory") " bsh.engine.BshScriptEngineFactory")))) (replace 'install (install-from-pom "pom.xml"))))) (inputs