WhatCable icon

WhatCable 1.1.9

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.9",
  "src": {
    "url": "https://github.com/darrylmorley/whatcable/releases/download/v1.1.9/WhatCable.zip",
    "sha256": "e3fa9d1fb0252f0aa5866919589f400b20183d9c0e888ae5ce72a1d5d0bede07"
  },
  "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"
  }
}