2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-17 18:58:01 +01:00
|
|
|
|
2020-08-07 00:02:48 +01:00
|
|
|
buildGoModule rec {
|
2019-07-10 16:40:12 +01:00
|
|
|
pname = "tilt";
|
2019-04-17 18:58:01 +01:00
|
|
|
/* Do not use "dev" as a version. If you do, Tilt will consider itself
|
2020-08-07 00:02:48 +01:00
|
|
|
running in development environment and try to serve assets from the
|
|
|
|
source tree, which is not there once build completes. */
|
2021-02-21 05:44:40 +00:00
|
|
|
version = "0.18.10";
|
2019-04-17 18:58:01 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-07 00:02:48 +01:00
|
|
|
owner = "tilt-dev";
|
2019-07-10 16:40:12 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-21 05:44:40 +00:00
|
|
|
sha256 = "sha256-SvvvHGR3UPyV61MaoFB68SaZKUT3ItYOPT1a7AddxlY=";
|
2019-04-17 18:58:01 +01:00
|
|
|
};
|
2020-08-07 00:02:48 +01:00
|
|
|
vendorSha256 = null;
|
2019-07-10 16:40:12 +01:00
|
|
|
|
2019-04-17 18:58:01 +01:00
|
|
|
subPackages = [ "cmd/tilt" ];
|
|
|
|
|
2020-08-07 00:02:48 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
|
2019-04-17 18:58:01 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-17 18:58:01 +01:00
|
|
|
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://tilt.dev/";
|
2019-04-17 18:58:01 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ anton-dessiatov ];
|
|
|
|
};
|
|
|
|
}
|