diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-09 10:14:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 21:14:49 -0500 |
commit | a12ced781c91b1d553a7e4e93d3df258cabbe63e (patch) | |
tree | fc8bb461ac7c4762fb713f0ee7b0de7ad849412b | |
parent | fe05fc7fd5ae674d7ef0ff22652202e01394ebc3 (diff) | |
download | spack-a12ced781c91b1d553a7e4e93d3df258cabbe63e.tar.gz spack-a12ced781c91b1d553a7e4e93d3df258cabbe63e.tar.bz2 spack-a12ced781c91b1d553a7e4e93d3df258cabbe63e.tar.xz spack-a12ced781c91b1d553a7e4e93d3df258cabbe63e.zip |
Add new package: jansi-native (#18547)
-rw-r--r-- | var/spack/repos/builtin/packages/jansi-native/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/jansi-native/package.py b/var/spack/repos/builtin/packages/jansi-native/package.py new file mode 100644 index 0000000000..54fa0953b4 --- /dev/null +++ b/var/spack/repos/builtin/packages/jansi-native/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2020 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 JansiNative(MavenPackage): + """Jansi is a small ASl 2.0 licensed Java library that allows you to + use ANSI escape sequences to format your console output which works even + on windows.""" + + homepage = "https://fusesource.github.io/jansi/" + url = "https://github.com/fusesource/jansi-native/archive/jansi-native-1.8.tar.gz" + + version('1.8', sha256='053808f58495a5657c7e7f388008b02065fbbb3f231454bfcfa159adc2e2fcea') + + depends_on('java@8', type=('build', 'run')) |