Subject: [bug#75032] [PATCH 04/13] gnu: Add sagemath-data-combinatorial-designs.

From: Vinicius Monego <[email-masked]>
Date: Sun, 22 Dec 2024 17:26:48 +0000

From: vicvbcun <[email-masked]>

* gnu/packages/sagemath.scm (sagemath-data-combinatorial-designs): New
variable.

Change-Id: Ib1ad3675256be1958427cd37a76bb5bdbf16fd12
Co-authored by: Vinicius Monego <[email-masked]>

Change-Id: I758e22fabcc11ca0583ab899acc0c653a35c7f43
---
 gnu/packages/sagemath.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 514af19da8..d1cba8dcdb 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -449,3 +449,30 @@ (define-public sagemath-data-graphs
 database.")
     ;; Debian says GPLv2+.
     (license license:gpl2+)))
+
+(define-public sagemath-data-combinatorial-designs
+  (package
+    (name "sagemath-data-combinatorial-designs")
+    (version "20140630")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://mirrors.mit.edu/sage/spkg/upstream/"
+                    "combinatorial_designs/combinatorial_designs-"
+                    version ".tar.bz2"))
+              (sha256
+               (base32
+                "0bj8ngiq59hipa6izi6g5ph5akmy4cbk0vlsb0wa67f7grnnqj69"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("." "share/combinatorial_designs/"))))
+    (home-page "https://www.sagemath.org")
+    (synopsis "Data for Combinatorial Designs")
+    (description
+     "This package data for combinatorial designs.  It currently contains:
+
+@itemize
+@item The table of @acronym{MOLS, Mutually orthogonal Latin squares} from the
+Handbook of Combinatorial Designs, 2ed.
+@end itemize")
+    (license license:public-domain)))
-- 
2.39.5