diff options
author | Anton Desyatov <anton.dessiatov@gmail.com> | 2019-04-18 00:58:01 +0700 |
---|---|---|
committer | Anton Desyatov <anton.dessiatov@gmail.com> | 2019-04-18 01:47:37 +0700 |
commit | 1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66 (patch) | |
tree | 7f026787eb03024920d8e7a3fa9294915dcfe32f /pkgs/applications/networking/cluster/tilt/default.nix | |
parent | 4d09579e20ff0a0b1bf9bbb2f4f8d38cd029a27b (diff) | |
download | nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar.gz nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar.bz2 nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar.lz nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar.xz nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.tar.zst nixpkgs-1e3f2ecad1603403f414a2eeccfd5e0e1f9aea66.zip |
tilt: init at 0.7.13
Diffstat (limited to 'pkgs/applications/networking/cluster/tilt/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/tilt/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/tilt/default.nix b/pkgs/applications/networking/cluster/tilt/default.nix new file mode 100644 index 00000000000..c4699a87ef6 --- /dev/null +++ b/pkgs/applications/networking/cluster/tilt/default.nix @@ -0,0 +1,30 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "tilt"; + name = "${pname}-${version}"; + /* 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.7.13"; + rev = "67cd823b2a07c7bb2bcb919c0963e8f23e22d57e"; + + src = fetchFromGitHub { + owner = "windmilleng"; + repo = "tilt"; + rev = "${rev}"; + sha256 = "0cfmdd6wsczcmy6fkd418rvancx4qy1c3pzq9jbfsy4innhh51j7"; + }; + + goPackagePath = "github.com/windmilleng/tilt"; + subPackages = [ "cmd/tilt" ]; + + buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-04-18"); + + 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 ]; + }; +} |