mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
29 lines
894 B
Nix
29 lines
894 B
Nix
{ stdenv, 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.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tilt-dev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0bd01fmrf17njzf8ri4bw4qi7bxcvd3dx7yyf42qfvnp7hrfzipk";
|
|
};
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "cmd/tilt" ];
|
|
|
|
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|