errcheck: 1.1.0 -> 1.4.0

This commit is contained in:
Ben Siraphob 2020-11-22 20:50:53 +07:00
parent e286f0cf3b
commit ac79b35359
2 changed files with 5 additions and 31 deletions

View File

@ -1,23 +1,17 @@
{ buildGoPackage
, lib
, fetchFromGitHub
}:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "errcheck";
version = "1.1.0";
goPackagePath = "github.com/kisielk/errcheck";
excludedPackages = "\\(testdata\\)";
version = "1.4.0";
src = fetchFromGitHub {
owner = "kisielk";
repo = "errcheck";
rev = "v${version}";
sha256 = "19vd4rxmqbk5lpiav3pf7df3yjlz0l0dwx9mn0gjq5f998iyhy6y";
sha256 = "00skyvy31yliw0f395j5h3gichi5n2q1m24izjidxvyc2av7pjn6";
};
goDeps = ./deps.nix;
vendorSha256 = "0mx506qb5sy6p4zqjs1n0w7dg8pz2wf982qi9v7nrhxysl2rlnxf";
meta = with lib; {
description = "Program for checking for unchecked errors in go programs";

View File

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/kisielk/gotool";
fetch = {
type = "git";
url = "https://github.com/kisielk/gotool";
rev = "80517062f582ea3340cd4baf70e86d539ae7d84d";
sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
};
}
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "3a10b9bf0a52df7e992a8c3eb712a86d3c896c75";
sha256 = "19f3dijcc54jnd7458jab2dgpd0gzccmv2qympd9wi8cc8jpnhws";
};
}
]