commit e5cb0871f5124d58daa0721758bae53dfce2a5b3
parent 2423b4d2bf4f50c7f5f5e7add5d14b933a75d3e3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 7 May 2020 17:09:30 +0200
pkgs: remove goreturns
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -21,7 +21,6 @@ rec {
envbox = pkgs.callPackage ./envbox { };
esc = pkgs.callPackage ./esc { };
gogo-protobuf = pkgs.callPackage ./gogo-protobuf { };
- goreturns = pkgs.callPackage ./goreturns { };
gorun = pkgs.callPackage ./gorun { };
govanityurl = pkgs.callPackage ./govanityurl { };
ko = pkgs.callPackage ./ko { };
diff --git a/pkgs/goreturns/default.nix b/pkgs/goreturns/default.nix
@@ -1,24 +0,0 @@
-{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
-
-buildGoPackage rec {
- name = "goreturns-unstable-${version}";
- version = "2018-10-28";
- rev = "538ac601451833c7c4449f8431d65d53c1c60e41";
-
- goPackagePath = "github.com/sqs/goreturns";
-
- src = fetchFromGitHub {
- inherit rev;
- owner = "sqs";
- repo = "goreturns";
- sha256 = "0gcplch8zmcgwl6xvcffxg50g3xnf60n7dlqxgn51179qcjr354p";
- };
-
- goDeps = ./deps.nix;
-
- meta = {
- description = "A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types";
- homepage = https://github.com/sqs/goreturns;
- license = lib.licenses.asl20;
- };
-}
diff --git a/pkgs/goreturns/deps.nix b/pkgs/goreturns/deps.nix
@@ -1,12 +0,0 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
-[
- {
- goPackagePath = "golang.org/x/tools";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/tools";
- rev = "6d71ab8aade08605ffc36622332264e2f6991952";
- sha256 = "0vxs5k6dc9rsr99n8ca6sibd8n2ah4j2jr13szpvi22q7kax2fnl";
- };
- }
-]