Merge pull request #171185 from aaronjheng/goconst

goconst: 1.4.0 -> 1.5.1
main
Bobby Rong 2 years ago committed by GitHub
commit 544182d3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      pkgs/development/tools/goconst/default.nix

@ -1,23 +1,22 @@
{ buildGoPackage { lib, buildGoModule, fetchFromGitHub }:
, lib
, fetchFromGitHub
}:
buildGoPackage rec { buildGoModule rec {
pname = "goconst"; pname = "goconst";
version = "1.4.0"; version = "1.5.1";
goPackagePath = "github.com/jgautheron/goconst";
excludedPackages = [ "tests" ]; excludedPackages = [ "tests" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jgautheron"; owner = "jgautheron";
repo = "goconst"; repo = "goconst";
rev = version; rev = "v${version}";
sha256 = "0jp9vg5l4wcvnf653h3d8ay2n7y717l9z34rls1vrsaf0qdf1r6v"; sha256 = "sha256-chBWxOy9V4pO3hMaeCoKwnQxIEYiSejUOD3QDBCpaoE=";
}; };
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
ldflags = [ "-s" "-w" ];
meta = with lib; { meta = with lib; {
description = "Find in Go repeated strings that could be replaced by a constant"; description = "Find in Go repeated strings that could be replaced by a constant";
homepage = "https://github.com/jgautheron/goconst"; homepage = "https://github.com/jgautheron/goconst";

Loading…
Cancel
Save