summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/genrich/package.py
blob: 16093a9b635cc04944486176e6f18adf788c9f3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 Genrich(MakefilePackage):
    """Genrich is a peak-caller for genomic enrichment assays."""

    homepage = "https://github.com/jsh58/Genrich"
    url = "https://github.com/jsh58/Genrich/archive/v0.6.tar.gz"

    license("MIT")

    version("0.6.1", sha256="2c70239e1caf33519b9e99142470bb4dd2f4c69e71f68cee33d6d6a1032d0e33")
    version("0.6", sha256="4c87aca8b7789f28b0c5c2c0ccea75668f19fa6a4cb38cd3c06d80ffd98d396f")

    depends_on("zlib-api")

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install("Genrich", prefix.bin)