summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-highr/package.py
blob: fe8606ca598bfefa64a71dbb2424555abccf4bb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2018 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 RHighr(RPackage):
    """Provides syntax highlighting for R source code. Currently it supports
    LaTeX and HTML output. Source code of other languages is supported via
    Andre Simon's highlight package."""

    homepage = "https://github.com/yihui/highr"
    url      = "https://cran.r-project.org/src/contrib/highr_0.6.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/highr"

    version('0.6', 'bf47388c5f57dc61962362fb7e1d8b16')