2019-06-16 21:59:06 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2019-04-17 19:58:01 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-07-10 17:40:12 +02:00
|
|
|
pname = "tilt";
|
2019-04-17 19:58:01 +02:00
|
|
|
/* 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. */
|
2019-10-18 08:53:30 +02:00
|
|
|
version = "0.10.13";
|
2019-04-17 19:58:01 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "windmilleng";
|
2019-07-10 17:40:12 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-10-18 08:53:30 +02:00
|
|
|
sha256 = "02xlqgmmn1a7pz6sliharz8l9fbn2raxqkm75qxdqs1ncbvgc65k";
|
2019-04-17 19:58:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/windmilleng/tilt";
|
2019-07-10 17:40:12 +02:00
|
|
|
|
2019-04-17 19:58:01 +02:00
|
|
|
subPackages = [ "cmd/tilt" ];
|
|
|
|
|
2019-10-18 08:53:30 +02:00
|
|
|
buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-10-04");
|
2019-04-17 19:58:01 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
|
|
|
|
homepage = https://tilt.dev/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ anton-dessiatov ];
|
|
|
|
};
|
|
|
|
}
|