metal: new package @2020-05-05 (#40355)

* metal: new package
* style

---------

Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
George Young 2023-10-06 22:14:45 +01:00 committed by GitHub
parent 0357df0c8b
commit b027d7d0de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
# 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)
from spack.package import *
class Metal(CMakePackage):
"""METAL is a tool for the meta-analysis of genome-wide association studies"""
homepage = "https://genome.sph.umich.edu/wiki/METAL"
url = "https://github.com/statgen/METAL/archive/refs/tags/2020-05-05.tar.gz"
version(
"2020-05-05", sha256="0ffa2419ca2ab43766e7e6e8c97822c8ce1f5b6233fb5f992d1b1be1955fede7"
)
depends_on("cmake@3.1:", type="build")
depends_on("zlib-ng")
@run_after("install")
def mv_binary(self):
with working_dir(self.build_directory):
install_tree("bin", self.prefix.bin)