From b6425da50f3ff1e894184dd55b1b87ae8c018066 Mon Sep 17 00:00:00 2001
From: Christopher Christofi
 <77968333+ChristopherChristofi@users.noreply.github.com>
Date: Sat, 23 Mar 2024 11:46:03 +0000
Subject: New package: qctool (#43326)

---
 var/spack/repos/builtin/packages/qctool/package.py | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/qctool/package.py

diff --git a/var/spack/repos/builtin/packages/qctool/package.py b/var/spack/repos/builtin/packages/qctool/package.py
new file mode 100644
index 0000000000..8933381653
--- /dev/null
+++ b/var/spack/repos/builtin/packages/qctool/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2024 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 Qctool(WafPackage):
+    """QCTOOL is a command-line utility program for manipulation and quality
+    control of gwas datasets and other genome-wide data. This repository contains
+    the source code for QCTOOL and a number of other command-line programs that
+    manipulate gwas datasets and other genomic data, such as: Inthinnerator,
+    HPTEST, and LDBIRD."""
+
+    homepage = "https://www.chg.ox.ac.uk/~gav/qctool_v2/index.html"
+
+    license("BSL-1.0")
+
+    version(
+        "2.2.0",
+        sha256="7ba47998a2559193483cebe3710ce14d4e5d55d2e123840b4d1614b88459a9fc",
+        url="https://enkre.net/cgi-bin/code/qctool/tarball/86639c1ad4/qctool-86639c1ad4.tar.gz",
+    )
+
+    # Required external libraries as detailed in Prerequisites:
+    # https://enkre.net/cgi-bin/code/qctool/wiki?name=Compiling+QCTOOL
+    depends_on("zlib")
-- 
cgit v1.2.3-70-g09d2