Unverified Commit d8eac90d authored by Kristoffer Plagborg Bak Sørensen's avatar Kristoffer Plagborg Bak Sørensen Committed by GitHub
Browse files

tuistash: init at 0.7.1 (#405939)

parent 538723ce
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  lib,
  nix-update-script,
  rustPlatform,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "tuistash";
  version = "0.7.1";

  src = fetchFromGitHub {
    owner = "edmocosta";
    repo = "tuistash";
    tag = "v${finalAttrs.version}";
    hash = "sha256-LWmH/xHvdiY6lC7gsRh2gX31b9Fh4fWekrVdQ++8moQ=";
  };

  cargoHash = "sha256-mLtzdWHC7HN+hju71WQQZ4nJDMzybEfjzckbfeu32Qo=";

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Terminal User Interface for Logstash";
    homepage = "https://github.com/edmocosta/tuistash";
    changelog = "https://github.com/edmocosta/tuistash/blob/v${finalAttrs.version}/CHANGELOG.md";
    license = [ lib.licenses.asl20 ];
    maintainers = [ lib.maintainers.kpbaks ];
    mainProgram = "tuistash";
  };
})