home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d7d0c9d17de3fab0db49329e5ce8b52a9c46b532
parent a39c6c06d4b3dc217fe03f1adc2023de024c4f63
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 22 Nov 2018 18:21:57 +0100

pkgs: remove skaffold (upstream)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Moverlays/sbr.nix | 3---
Mpkgs/default.nix | 3---
Dpkgs/skaffold/default.nix | 32--------------------------------
3 files changed, 0 insertions(+), 38 deletions(-)

diff --git a/overlays/sbr.nix b/overlays/sbr.nix @@ -42,9 +42,6 @@ self: super: slirp4netns = import ../pkgs/slirp4netns { inherit (self) stdenv lib fetchFromGitHub automake autoconf gcc; }; - skaffold = import ../pkgs/skaffold { - inherit (self) stdenv lib buildGoPackage fetchFromGitHub; - }; envbox = import ../pkgs/envbox { inherit (self) stdenv lib buildGoPackage fetchFromGitHub; }; diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -39,9 +39,6 @@ in rec { scripts = import ./scripts { inherit (pkgs) stdenv; }; - skaffold = import ./skaffold { - inherit (pkgs) stdenv lib buildGoPackage fetchFromGitHub; - }; slirp4netns = import ./slirp4netns { inherit (pkgs) stdenv lib fetchFromGitHub automake autoconf gcc; }; diff --git a/pkgs/skaffold/default.nix b/pkgs/skaffold/default.nix @@ -1,32 +0,0 @@ -{ stdenv, lib, buildGoPackage, fetchFromGitHub }: - -buildGoPackage rec { - name = "skaffold-${version}"; - version = "0.16.0"; - # rev is the 0.16.0 commit, mainly for skaffold version command output - rev = "78e443973ee7475ee66d227431596351cf5e2caf"; - - goPackagePath = "github.com/GoogleContainerTools/skaffold"; - subPackages = ["cmd/skaffold"]; - - buildFlagsArray = let t = "${goPackagePath}/pkg/skaffold"; in '' - -ldflags= - -X ${t}/version.version=v${version} - -X ${t}/version.gitCommit=${rev} - -X ${t}/version.buildDate=unknown - ''; - - src = fetchFromGitHub { - owner = "GoogleContainerTools"; - repo = "skaffold"; - rev = "v${version}"; - sha256 = "0vpjxyqppyj4zs02n8b0k0qd8zidrrcks60x6qd5a4bbqa0c1zld"; - }; - - meta = { - description = "Easy and Repeatable Kubernetes Development"; - homepage = "https://github.com/GoogleContainerTools/skaffold"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ vdemeester ]; - }; -}