summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-09 10:14:49 +0800
committerGitHub <noreply@github.com>2020-09-08 21:14:49 -0500
commita12ced781c91b1d553a7e4e93d3df258cabbe63e (patch)
treefc8bb461ac7c4762fb713f0ee7b0de7ad849412b
parentfe05fc7fd5ae674d7ef0ff22652202e01394ebc3 (diff)
downloadspack-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.py19
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'))