Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
corelocationcli # Core Location CLI
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
corelocationcli # Core Location CLI
];
}
Package Definition
{
"pname": "corelocationcli",
"version": "4.0.2",
"src": {
"url": "https://github.com/fulldecent/corelocationcli/releases/download/4.0.2/CoreLocationCLI.zip",
"sha256": "ca70f0492d78c317182a095a25153dc1a5cd4d22fea1b71f6e9dd46c6e3dcab1"
},
"installPhase": [
"mkdir -p \"$out/bin\" && ln -s \"CoreLocationCLI\" \"$out/bin/CoreLocationCLI\""
],
"meta": {
"description": "Prints location information from CoreLocation",
"homepage": "https://github.com/fulldecent/corelocationcli"
}
}