about summary refs log tree commit diff
path: root/pkgs/applications/misc/gsctl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/gsctl/default.nix')
-rw-r--r--pkgs/applications/misc/gsctl/default.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/applications/misc/gsctl/default.nix b/pkgs/applications/misc/gsctl/default.nix
deleted file mode 100644
index b2b9c7b67b06..000000000000
--- a/pkgs/applications/misc/gsctl/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ lib, buildGoModule, fetchFromGitHub, kubectl, stdenv }:
-
-buildGoModule rec {
-  pname = "gsctl";
-  version = "1.1.6";
-
-  src = fetchFromGitHub {
-    owner = "giantswarm";
-    repo = pname;
-    rev = version;
-    sha256 = "sha256-eemPsrSFwgUR1Jz7283jjwMkoJR38QiaiilI9G0IQuo=";
-  };
-
-  vendorHash = "sha256-6b4H8YAY8d/qIGnnGPYZoXne1LXHLsc0OEq0lCeqivo=";
-
-  patches = [
-    ./go120-compatibility.patch
-  ];
-
-  postPatch = ''
-    # fails on sandbox
-    rm commands/root_test.go
-  '';
-
-  ldflags = [
-    "-s" "-w"
-    "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}"
-  ];
-
-  nativeCheckInputs = [
-    kubectl
-  ];
-
-  doCheck = !stdenv.isDarwin;
-
-  meta = with lib; {
-    description = "Giant Swarm command line interface";
-    homepage = "https://github.com/giantswarm/gsctl";
-    license = licenses.asl20;
-    maintainers = with maintainers; [ joesalisbury ];
-    mainProgram = "gsctl";
-  };
-}