3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/tilt/default.nix

29 lines
894 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2019-04-17 18:58:01 +01:00
buildGoModule 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-08-24 12:23:03 +01:00
version = "0.17.2";
2019-04-17 18:58:01 +01:00
src = fetchFromGitHub {
owner = "tilt-dev";
2019-07-10 16:40:12 +01:00
repo = pname;
rev = "v${version}";
2020-08-24 12:23:03 +01:00
sha256 = "0wiqnlam4f7085n3djvb5phhvw9df61bj8w6c5rcpffykg33vhmi";
2019-04-17 18:58:01 +01:00
};
vendorSha256 = null;
2019-07-10 16:40:12 +01:00
2019-04-17 18:58:01 +01:00
subPackages = [ "cmd/tilt" ];
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
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/";
2019-04-17 18:58:01 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ anton-dessiatov ];
};
}