1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/tools/errcheck/default.nix

24 lines
641 B
Nix
Raw Normal View History

2020-11-22 13:50:53 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
2018-10-31 18:21:52 +00:00
2020-11-22 13:50:53 +00:00
buildGoModule rec {
pname = "errcheck";
2021-01-18 16:15:56 +00:00
version = "1.5.0";
2018-10-31 18:21:52 +00:00
src = fetchFromGitHub {
owner = "kisielk";
repo = "errcheck";
rev = "v${version}";
2021-01-18 16:15:56 +00:00
sha256 = "sha256-ZmocFXtg+Thdup+RqDYC/Td3+m1nS0FydZecfsWXIzI=";
2018-10-31 18:21:52 +00:00
};
2021-01-18 16:15:56 +00:00
vendorSha256 = "sha256-rluaBdW+w2zPThELlBwX/6LXDgc2aIk/ucbrsrABpVc=";
2018-10-31 18:21:52 +00:00
meta = with lib; {
description = "Program for checking for unchecked errors in go programs";
homepage = "https://github.com/kisielk/errcheck";
2018-10-31 18:21:52 +00:00
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}