Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ubports-installer # ubports installer
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ubports-installer # ubports installer
];
} Package Definition
{
"pname": "ubports-installer",
"version": "0.11.2",
"src": {
"url": "https://github.com/ubports/ubports-installer/releases/download/0.11.2/ubports-installer_0.11.2_mac_arm64.dmg",
"sha256": "21f40396f8f8d1b0da9b3b7b029cd6d15988603c64cdfceb5d9ba1eb4232cd3c"
},
"installPhase": [
"mkdir -p \"$out/Applications/ubports-installer.app\" && cp -r \"ubports-installer.app\" \"$out/Applications\""
],
"meta": {
"description": "Application to install ubports on mobile devices",
"homepage": "https://ubports.com/"
}
}