1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/tilt/default.nix

30 lines
948 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2019-04-17 18:58:01 +01:00
buildGoPackage 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
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
2020-01-30 10:48:31 +00:00
version = "0.11.3";
2019-04-17 18:58:01 +01:00
src = fetchFromGitHub {
owner = "windmilleng";
2019-07-10 16:40:12 +01:00
repo = pname;
rev = "v${version}";
2020-01-30 10:48:31 +00:00
sha256 = "035czgr0rn6gcv24vnlr35n9yvy0fwq4spdzsc76gfxckcbcmzz0";
2019-04-17 18:58:01 +01:00
};
goPackagePath = "github.com/windmilleng/tilt";
2019-07-10 16:40:12 +01:00
2019-04-17 18:58:01 +01:00
subPackages = [ "cmd/tilt" ];
2020-01-30 10:48:31 +00:00
buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2020-01-25");
2019-04-17 18:58:01 +01:00
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 ];
};
}