My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/infra/libkookie/nixpkgs/stable/pkgs/applications/networking/cluster/tilt/default.nix

28 lines
883 B

{ 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.20.5";
src = fetchFromGitHub {
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pUKKHrShED7yp5WSmHSbS+eiYs22Nm2/ouc2a8WYc38=";
};
vendorSha256 = null;
subPackages = [ "cmd/tilt" ];
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
meta = with 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 ];
};
}