9 pname = "osv-detector";
12 src = fetchFromGitHub {
16 hash = "sha256-Y/9q4ZJ4vxDitqrM4hGe49iqLYk4ebhTs4jrD7P8fdw=";
19 vendorSha256 = "sha256-KAxpDQIRrLZIOvfW8wf0CV4Fj6l3W6nNZNCH3ZE6yJc=";
24 "-X main.version=${version}"
27 passthru.tests.version = testers.testVersion {
28 package = osv-detector;
29 command = "osv-detector -version";
30 version = "osv-detector ${version} (unknown, commit none)";
34 description = "Auditing tool for detecting vulnerabilities";
35 homepage = "https://github.com/G-Rath/osv-detector";
36 changelog = "https://github.com/G-Rath/osv-detector/releases/tag/v${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];