mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
Merge pull request #268970 from prit342/add-nilaway
nilaway: init at unstable-2023-11-17
This commit is contained in:
commit
82cce7df14
@ -14566,6 +14566,12 @@
|
||||
name = "Philipp Rintz";
|
||||
matrix = "@philipp:srv.icu";
|
||||
};
|
||||
prit342 = {
|
||||
email = "prithak342@gmail.com";
|
||||
github = "prit342";
|
||||
githubId = 20863431;
|
||||
name = "Prithak S.";
|
||||
};
|
||||
ProducerMatt = {
|
||||
name = "Matthew Pherigo";
|
||||
email = "ProducerMatt42@gmail.com";
|
||||
|
28
pkgs/by-name/ni/nilaway/package.nix
Normal file
28
pkgs/by-name/ni/nilaway/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nilaway";
|
||||
version = "unstable-2023-11-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uber-go";
|
||||
repo = "nilaway";
|
||||
rev = "a267567c6ffff900df0c3394d031ee70079ec8df";
|
||||
hash = "sha256-Ro1nSTEZcE9u4Ol6CSLBTiPrh72Ly9UcrXyvffzPfow=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kbVjkWW5D8jp5QFYGiyRuGFArRsQukJIR8xwaUUIUBs=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Static Analysis tool to detect potential Nil panics in Go code";
|
||||
homepage = "https://github.com/uber-go/nilaway";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ prit342 jk ];
|
||||
mainProgram = "nilaway";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user