spack/var/spack/repos/builtin/packages/bioawk/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00

29 lines
924 B
Python

# Copyright 2013-2019 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 import *
class Bioawk(MakefilePackage):
"""Bioawk is an extension to Brian Kernighan's awk, adding the support of
several common biological data formats, including optionally gzip'ed
BED, GFF, SAM, VCF, FASTA/Q and TAB-delimited formats with column names.
"""
homepage = "https://github.com/lh3/bioawk"
url = "https://github.com/lh3/bioawk/archive/v1.0.zip"
version('1.0', sha256='316a6561dda41e8327b85106db3704e94e23d7a89870392d19ef8559f7859e2d')
depends_on('zlib')
depends_on('bison', type=('build'))
parallel = False
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('bioawk', prefix.bin)
install('maketab', prefix.bin)