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