From 96068b05f1e7850ee24a8dbef2aebc9c7bef676f Mon Sep 17 00:00:00 2001
From: Andrei Kramer-Miehe <andrei.kramer@scilifelab.se>
Date: Mon, 20 Feb 2023 12:49:46 +0100
Subject: [PATCH] added package.py for the R package SBtabVFGEN

---
 packages/r-sbtabvfgen/package.py | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 packages/r-sbtabvfgen/package.py

diff --git a/packages/r-sbtabvfgen/package.py b/packages/r-sbtabvfgen/package.py
new file mode 100644
index 00000000..eaeb83e2
--- /dev/null
+++ b/packages/r-sbtabvfgen/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2023 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)
+
+# ----------------------------------------------------------------------------
+# If you submit this package back to Spack as a pull request,
+# please first remove this boilerplate and all FIXME comments.
+#
+# This is a template package file for Spack.  We've put "FIXME"
+# next to all the things you'll want to change. Once you've handled
+# them, you can save this file and test your package like this:
+#
+#     spack install r-sbtabvfgen
+#
+# You can edit this file again by typing:
+#
+#     spack edit r-sbtabvfgen
+#
+# See the Spack documentation for more information on packaging.
+# ----------------------------------------------------------------------------
+
+from spack.package import *
+
+
+class RSbtabvfgen(RPackage):
+    """This package converts SBtab files (with one table per tsv file) into three other formats: vfgen, sbml, Neuron's MOD. It also saves its findings in a free form, as text files. SBtab files typically contain a reaction network model (systems biology). The output is more useful for simulations."""
+
+    homepage = "https://github.com/icpm-kth/SBtabVFGEN"
+    url = "https://github.com/icpm-kth/SBtabVFGEN/archive/refs/tags/v0.1.tar.gz"
+
+    version("0.1", sha256="499c51abee75ca5961a41608c9fb09ad523e12aae276f5f67bffa313244cff28")
-- 
GitLab