gnu: exercism: Update to 3.5.4.

* gnu/packages/education.scm (exercism): Update to 3.5.4.
* gnu/packages/patches/exercism-disable-self-update.patch: Refresh it
to be compatible.

Change-Id: Ia1920522d232fa681b70178bce2220649b0bcbe0
This commit is contained in:
Sharlatan Hellseher 2024-12-23 01:42:15 +00:00
parent 723d93ed01
commit 745f4f9ed2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 10 additions and 9 deletions

View file

@ -1112,7 +1112,7 @@ (define-public mdk
(define-public exercism
(package
(name "exercism")
(version "3.1.0")
(version "3.5.4")
(source
(origin
(method git-fetch)
@ -1122,7 +1122,7 @@ (define-public exercism
(file-name (git-file-name name version))
(sha256
(base32
"0ah5v4pqq31bvj7s4rg3jyjn7jwxa15w31cn4c317gsqmi0n8rzl"))
"0shh84g7j977kn9kcm09rj3lz6a3y5qq9yvklsldgb9zvass5szd"))
(patches (search-patches "exercism-disable-self-update.patch"))))
(build-system go-build-system)
(arguments

View file

@ -1,21 +1,23 @@
From bc22f7d43c12c5f79c71b0319666e71f29d61322 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= <kuba@kadziolka.net>
Date: Mon, 25 May 2020 18:53:04 +0200
From a0e422b11a65d63bd435c96bee3cd08f06bb8ec8 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Mon, 23 Dec 2024 01:59:10 +0000
Subject: [PATCH] Disable self-update.
For exercism cli V3.5.4.
Based on a Fedora patch by Elliott Sales de Andrade.
---
cli/cli.go | 44 +-------------------------------------------
1 file changed, 1 insertion(+), 43 deletions(-)
diff --git a/cli/cli.go b/cli/cli.go
index 4312eb0..5f62297 100644
index fe113ec..3baa4b0 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -10,13 +10,10 @@ import (
"io"
"io/ioutil"
"net/http"
"os"
- "runtime"
"strings"
"time"
@ -75,5 +77,4 @@ index 4312eb0..5f62297 100644
func (c *CLI) fetchLatestRelease() error {
--
2.26.2
2.46.0