gosec: init at 1.1.0

This commit is contained in:
Wael M. Nasreddine
2018-11-02 22:04:43 -07:00
parent cfa5c7f896
commit a1faa70368
3 changed files with 224 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{ buildGoPackage
, lib
, fetchFromGitHub
}:
buildGoPackage rec {
name = "gosec-${version}";
version = "1.1.0";
goPackagePath = "github.com/securego/gosec";
excludedPackages = ''cmd/tlsconfig'';
src = fetchFromGitHub {
owner = "securego";
repo = "gosec";
rev = "${version}";
sha256 = "0vjn3g6w4y4ayx0g766jp31vb78cipl90fcg0mccjr0a539qrpy6";
};
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;
};
}