6 enableUsageTracking ? false,
9 python3.pkgs.buildPythonApplication rec {
14 src = fetchFromGitHub {
16 repo = "terraform-tui";
17 rev = "refs/tags/v${version}";
18 hash = "sha256-xOlPuPVwfVT7jfBJPqZ5FbOs80HE0k2ZqcA+Jcxh9p4=";
25 nativeBuildInputs = with python3.pkgs; [
30 propagatedBuildInputs = with python3.pkgs; [
38 pythonImportsCheck = [
42 postInstall = lib.optionalString (!enableUsageTracking) ''
43 wrapProgram $out/bin/tftui \
44 --add-flags "--disable-usage-tracking"
48 description = "Textual UI to view and interact with Terraform state";
49 homepage = "https://github.com/idoavrah/terraform-tui";
50 changelog = "https://github.com/idoavrah/terraform-tui/releases/tag/v${version}";
51 license = licenses.asl20;
52 maintainers = with maintainers; teams.bitnomial.members;
53 mainProgram = "tftui";