mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
33 lines
858 B
Nix
33 lines
858 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
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.33.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tilt-dev";
|
|
repo = "tilt";
|
|
rev = "v${version}";
|
|
hash = "sha256-o78PoIKj+0FvZRpm0AqtUq3N9a9/LDYc7DIPZgSZe4s=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "cmd/tilt" ];
|
|
|
|
ldflags = [ "-X main.version=${version}" ];
|
|
|
|
meta = {
|
|
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
|
|
homepage = "https://tilt.dev/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ anton-dessiatov ];
|
|
};
|
|
}
|