aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/gosec/default.nix
blob: 2600d13cab937a527ba2a837e9447cd26a2e27bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ buildGoPackage
, lib
, fetchFromGitHub
}:

buildGoPackage rec {
  pname = "gosec";
  version = "1.2.0";

  goPackagePath = "github.com/securego/gosec";
  excludedPackages = ''cmd/tlsconfig'';

  src = fetchFromGitHub {
    owner = "securego";
    repo = "gosec";
    rev = version;
    sha256 = "1420yl4cjp4v4xv0l0wbahgl6bjhz77lx5va9hqa6abddmqvx1hg";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Golang security checker";
    homepage = "https://github.com/securego/gosec";
    license = licenses.asl20 ;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}