WhatCable icon

WhatCable 1.1.2

Menu bar app for USB-C cable diagnostics

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    whatcable # WhatCable
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    whatcable # WhatCable
  ];
}

Package Definition

{
  "pname": "whatcable",
  "version": "1.1.2",
  "src": {
    "url": "https://github.com/darrylmorley/whatcable/releases/download/v1.1.2/WhatCable.zip",
    "sha256": "fd41bebab9ed970e7c1654afaa9542e2d106edf1c91b7b8b32bc4fbf846ec1a8"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/WhatCable.app\" && cp -r \"WhatCable.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/WhatCable.app/Contents/Helpers/whatcable\" \"$out/bin/whatcable\""
  ],
  "meta": {
    "description": "Menu bar app for USB-C cable diagnostics",
    "homepage": "https://github.com/darrylmorley/whatcable"
  }
}