From a12ced781c91b1d553a7e4e93d3df258cabbe63e Mon Sep 17 00:00:00 2001
From: darmac <xiaojun2@hisilicon.com>
Date: Wed, 9 Sep 2020 10:14:49 +0800
Subject: Add new package: jansi-native (#18547)

---
 .../repos/builtin/packages/jansi-native/package.py    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/jansi-native/package.py

(limited to 'var')

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'))
-- 
cgit v1.2.3-70-g09d2