New package: py-flawfinder (#27887)

* New package: py-flawfinder

* Build py-flawfinder from source

* Update package.py
This commit is contained in:
iarspider 2021-12-10 18:25:21 +01:00 committed by GitHub
parent 059bc53760
commit 8b6bb245db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# Copyright 2013-2021 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 PyFlawfinder(PythonPackage, SourceforgePackage):
"""a program that examines source code looking for security weaknesses"""
homepage = "http://dwheeler.com/flawfinder/"
sourceforge_mirror_path = "project/flawfinder/flawfinder-2.0.19.tar.gz"
version('2.0.19', sha256='fe550981d370abfa0a29671346cc0b038229a9bd90b239eab0f01f12212df618')
depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-setuptools', type='build')