mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
9f7fccab09
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
30 lines
655 B
Nix
30 lines
655 B
Nix
{ buildGoPackage
|
|
, lib
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoPackage rec {
|
|
name = "gosec-${version}";
|
|
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;
|
|
};
|
|
}
|