nixpkgs/pkgs/applications/networking/cluster/tilt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.3 KiB
Nix
Raw Normal View History

2022-05-17 01:25:23 +00:00
{ stdenv, lib, buildGoModule, fetchFromGitHub }:
2019-04-17 17:58:01 +00:00
buildGoModule rec {
2019-07-10 15:40:12 +00:00
pname = "tilt";
2019-04-17 17:58:01 +00: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. */
2022-05-16 12:53:27 +00:00
version = "0.30.0";
2019-04-17 17:58:01 +00:00
src = fetchFromGitHub {
owner = "tilt-dev";
2019-07-10 15:40:12 +00:00
repo = pname;
rev = "v${version}";
2022-05-16 12:53:27 +00:00
sha256 = "sha256-bZYm9T3NRNNtT8RDGwnXcXC7Rb/GuIxI/U06By4gR/w=";
2019-04-17 17:58:01 +00:00
};
vendorSha256 = null;
2019-07-10 15:40:12 +00:00
2019-04-17 17:58:01 +00:00
subPackages = [ "cmd/tilt" ];
2021-08-26 06:45:51 +00:00
ldflags = [ "-X main.version=${version}" ];
2019-04-17 17:58:01 +00:00
meta = with lib; {
2019-04-17 17:58:01 +00:00
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
homepage = "https://tilt.dev/";
2019-04-17 17:58:01 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ anton-dessiatov ];
2022-05-17 01:25:23 +00:00
# TODO: Remove once nixpkgs uses macOS SDK 10.14+ for x86_64-darwin
# Undefined symbols for architecture x86_64:
# "_SecTrustEvaluateWithError", referenced from:
# _crypto/x509/internal/macos.x509_SecTrustEvaluateWithError_trampoline.abi0 in go.o
# "_utimensat", referenced from:
# _syscall.libc_utimensat_trampoline.abi0 in go.o
broken = stdenv.isDarwin && stdenv.isx86_64;
2019-04-17 17:58:01 +00:00
};
}