From f69ef28d6a37a14e7deed1c460fcc83cd55bbb2c Mon Sep 17 00:00:00 2001
From: Andrew Rowley <Andrew.Rowley@manchester.ac.uk>
Date: Tue, 25 Jul 2023 15:10:10 +0100
Subject: [PATCH] Add csa

---
 packages/py-csa/package.py | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 packages/py-csa/package.py

diff --git a/packages/py-csa/package.py b/packages/py-csa/package.py
new file mode 100644
index 00000000..882a2c2d
--- /dev/null
+++ b/packages/py-csa/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyCsa(PythonPackage):
+    """This provides basic utility functions and classes to other parts of
+    SpiNNaker"s tooling. Nothing in here knows anything about SpiNNaker
+    functionality."""
+
+    homepage = "https://github.com/SpiNNakerManchester/SpiNNUtils"
+    pypi = "csa/csa-0.1.12.tar.gz"
+
+    version("0.1.12", sha256="15e7103f3df32871951785880b2fe6a18056768ba31a7cc053ba553717c4b2de")
+
+    depends_on("python@3.7:", type=("build", "run"))
+    depends_on("py-numpy", type=("build", "run"))
+    depends_on("py-matplotlib", type=("build", "run"))
-- 
GitLab