14 src = fetchFromGitHub {
15 owner = "TritonDataCenter";
18 hash = "sha256-udS5CnaaeaY+owOrbC3R2jrNBpuTBKOkHrIS2AlHWAE=";
21 npmDepsHash = "sha256-w33awTkj+YxBoPlmP0JBlZlrMmaWhMC03/5a+LB0RZ8=";
25 nativeBuildInputs = [ installShellFiles ];
28 installShellCompletion --cmd triton --bash <($out/bin/triton completion)
29 # Strip timestamp from generated bash completion
30 sed -i '/Bash completion generated.*/d' $out/share/bash-completion/completions/triton.bash
34 tests.version = testers.testVersion {
40 description = "TritonDataCenter Client CLI and Node.js SDK";
41 homepage = "https://github.com/TritonDataCenter/node-triton";
42 license = licenses.mpl20;
43 maintainers = with maintainers; [ teutat3s ];
44 mainProgram = "triton";