WhatCable icon

WhatCable 1.0.4

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