WhatCable icon

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