Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
satdump # SatDump
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
satdump # SatDump
];
}
Package Definition
{
"pname": "satdump",
"version": "1.2.2",
"src": {
"url": "https://github.com/SatDump/SatDump/releases/download/1.2.2/SatDump-macOS-Silicon.dmg",
"sha256": "a84cdf81b27a8b484b654ccafe6072cd5b3e7dc06fc3280dd2b801a2ffeef93c"
},
"installPhase": [
"mkdir -p \"$out/Applications/SatDump.app\" && cp -r \"SatDump.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/SatDump.app/Contents/MacOS/satdump\" \"$out/bin/satdump\""
],
"meta": {
"description": "Generic satellite data processing software",
"homepage": "https://www.satdump.org/"
}
}