tilt: 0.11.3 -> 0.17.0, move to buildGoModule
This commit is contained in:
parent
dc255dcac0
commit
e23ed2c428
@ -1,24 +1,23 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "tilt";
|
pname = "tilt";
|
||||||
/* Do not use "dev" as a version. If you do, Tilt will consider itself
|
/* 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
|
running in development environment and try to serve assets from the
|
||||||
source tree, which is not there once build completes. */
|
source tree, which is not there once build completes. */
|
||||||
version = "0.11.3";
|
version = "0.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "windmilleng";
|
owner = "tilt-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "035czgr0rn6gcv24vnlr35n9yvy0fwq4spdzsc76gfxckcbcmzz0";
|
sha256 = "0bd01fmrf17njzf8ri4bw4qi7bxcvd3dx7yyf42qfvnp7hrfzipk";
|
||||||
};
|
};
|
||||||
|
vendorSha256 = null;
|
||||||
goPackagePath = "github.com/windmilleng/tilt";
|
|
||||||
|
|
||||||
subPackages = [ "cmd/tilt" ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
|
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user