Commit e5cb0871f512

Vincent Demeester <vincent@sbr.pm>
2020-05-07 17:09:30
pkgs: remove goreturns
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 2423b4d
Changed files (3)
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;
-  };
-}
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";
-    };
-  }
-]
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 { };