Subject: [PATCH v2.1 03/11] gnu: slurm: Add 23.02.6.

From: Ludovic Courtès <[email-masked]>
Date: Tue, 24 Oct 2023 11:57:58 +0200

From: Ludovic Courtès <[email-masked]>

* gnu/packages/parallel.scm (slurm): Update to 23.02.6.
(slurm-22.05): New variable.
---
 gnu/packages/parallel.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index df7b498d1f..b014a404a6 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2017, 2018 Rutger Helling <[email-masked]>
 ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2018 Clément Lassieur <[email-masked]>
-;;; Copyright © 2019-2022 Ludovic Courtès <[email-masked]>
+;;; Copyright © 2019-2023 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2020 Roel Janssen <[email-masked]>
 ;;; Copyright © 2021 Stefan Reichör <[email-masked]>
 ;;;
@@ -185,7 +185,7 @@ (define-public xjobs
 (define-public slurm
   (package
     (name "slurm")
-    (version "22.05.1")
+    (version "23.02.6")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -193,7 +193,7 @@ (define-public slurm
                     version ".tar.bz2"))
               (sha256
                (base32
-                "0f3hhlki8g7slllsnyj1qikbsvr62i0hig85lcdcfnmsagzlhbyi"))
+                "08rz3r1rlnb3pmfdnbh542gm44ja0fdy8rkj4vm4lclc48cvqp2a"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -281,6 +281,20 @@ (define-public slurm
 ;; As noted in the link, YY.MM is the release scheme, and the 'maintenance'
 ;; digit does not introduce incompatibilities.
 
+(define-public slurm-22.05
+  (package
+    (inherit slurm)
+    (version "22.05.1")
+    (source (origin
+              (inherit (package-source slurm))
+              (method url-fetch)
+              (uri (string-append
+                    "https://download.schedmd.com/slurm/slurm-"
+                    version ".tar.bz2"))
+              (sha256
+               (base32
+                "0f3hhlki8g7slllsnyj1qikbsvr62i0hig85lcdcfnmsagzlhbyi"))))))
+
 (define-public slurm-21.08
   (package
     (inherit slurm)
-- 
2.41.0