Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
kstars # KStars
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
kstars # KStars
];
} Package Definition
{
"pname": "kstars",
"version": "3.8.5",
"src": {
"url": "https://www.indilib.org/jdownloads/kstars/kstars-3.8.5-arm64.dmg",
"sha256": "ea15f0e9d46ff7a261c1e8657930d8d35d9b6e3d2586015887ea2090414053a1"
},
"installPhase": [
"mkdir -p \"$out/Applications/kstars.app\" && cp -r \"kstars.app\" \"$out/Applications\""
],
"meta": {
"description": "Astronomy software",
"homepage": "https://kstars.kde.org/"
}
}