tilt: 0.11.3 -> 0.17.0, move to buildGoModule

wip/yesman
Jordan Doyle 4 years ago committed by zowoq
parent dc255dcac0
commit e23ed2c428
  1. 19
      pkgs/applications/networking/cluster/tilt/default.nix

@ -1,24 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "tilt";
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.11.3";
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.17.0";
src = fetchFromGitHub {
owner = "windmilleng";
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "035czgr0rn6gcv24vnlr35n9yvy0fwq4spdzsc76gfxckcbcmzz0";
sha256 = "0bd01fmrf17njzf8ri4bw4qi7bxcvd3dx7yyf42qfvnp7hrfzipk";
};
goPackagePath = "github.com/windmilleng/tilt";
vendorSha256 = null;
subPackages = [ "cmd/tilt" ];
buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2020-01-25");
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
meta = with stdenv.lib; {
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";

Loading…
Cancel
Save