13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-yr5ik+DxOcW3UFK6KiPvheGlDdwSz2s7DKm2vAsSwG0=";
20 vendorHash = "sha256-A0zy5O2+afhn6jAfLd/k7wvL3z1PVI0e6bO39cnYrhM=";
22 subPackages = [ "cmd/bearer" ];
27 "-X=github.com/bearer/bearer/cmd/bearer/build.Version=${version}"
31 version = testers.testVersion {
33 command = "bearer version";
38 description = "Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks";
39 homepage = "https://github.com/bearer/bearer";
40 changelog = "https://github.com/Bearer/bearer/releases/tag/v${version}";
41 license = with licenses; [ elastic20 ];
42 maintainers = with maintainers; [ fab ];