diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-18 23:03:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 10:03:32 -0500 |
commit | a4cdf664c62487697b5763faacd79e93809bf892 (patch) | |
tree | 28cd5c69154f78c64ec793effde7da33bd3813dc /var | |
parent | 403ea4384e116415356704c81e0bc9cda02224e5 (diff) | |
download | spack-a4cdf664c62487697b5763faacd79e93809bf892.tar.gz spack-a4cdf664c62487697b5763faacd79e93809bf892.tar.bz2 spack-a4cdf664c62487697b5763faacd79e93809bf892.tar.xz spack-a4cdf664c62487697b5763faacd79e93809bf892.zip |
Add new package: shiro (#18541)
* Add new package: shiro
* refine description and dependencies
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/shiro/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/shiro/package.py b/var/spack/repos/builtin/packages/shiro/package.py new file mode 100644 index 0000000000..a97e5ca87d --- /dev/null +++ b/var/spack/repos/builtin/packages/shiro/package.py @@ -0,0 +1,23 @@ +# 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 Shiro(MavenPackage): + """Apache Shiro is a powerful and easy-to-use Java security framework + that performs authentication, authorization, cryptography, and session + management. With Shiro's easy-to-understand API, you can quickly and + easily secure any application - from the smallest mobile applications + to the largest web and enterprise applications.""" + + homepage = "https://shiro.apache.org/" + url = "https://github.com/apache/shiro/archive/shiro-root-1.6.0.tar.gz" + + version('1.6.0', sha256='50338badfd3261076060fbe70330089512d38071bc51aa3f84ad23e707d2b7c9') + version('1.5.3', sha256='25c5d99eddf790969e0f80bd9769f773465c9c9e1e8ec1f549f476bdae8c6983') + + depends_on('java@8:', type=('build', 'run')) + depends_on('maven@3.5:3.999', type='build') |