WhatCable icon

WhatCable 1.3.0

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