mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
commit
a90f6028cc
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, bearer
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -23,9 +25,15 @@ buildGoModule rec {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/bearer/bearer/cmd/bearer/build.Version=${version}"
|
||||
];
|
||||
|
||||
# doCheck = false;
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user