mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
bearer: add version test
This commit is contained in:
parent
6ed04dd916
commit
713371eed7
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, bearer
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -26,6 +28,13 @@ buildGoModule rec {
|
||||
"-X=github.com/bearer/bearer/cmd/bearer/build.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = bearer;
|
||||
command = "bearer version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks";
|
||||
homepage = "https://github.com/bearer/bearer";
|
||||
|
Loading…
Reference in New Issue
Block a user