# Template file for 'osv-scanner'
pkgname=osv-scanner
version=2.4.0
revision=1
build_style=go
go_import_path="github.com/google/osv-scanner/v2"
go_package="${go_import_path}/cmd/osv-scanner"
go_ldflags="-X main.version=${version}"
make_check_args="-skip=(_LocalDatabases|_Update)"
short_desc="Vulnerability scanner which uses the data provided by https://osv.dev"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://google.github.io/osv-scanner/"
changelog="https://raw.githubusercontent.com/google/osv-scanner/main/CHANGELOG.md"
distfiles="https://github.com/google/osv-scanner/archive/refs/tags/v${version}.tar.gz"
checksum=407ceeb62b2a1f3fb8260bf527f2d61d1079f440e23c8c94a9796791d7edd565
make_check=no # Tests require Docker, Cargo, and other tools. They are impossible to run in CI.
