Files
nix-config/packages/proton-cachyos/version.json
mjallen18 d856b57f13 fix
2026-03-03 11:21:33 -06:00

79 lines
2.0 KiB
JSON

{
"schemaVersion": 1,
"defaultVariant": "cachyos-v4",
"variables": {
"owner": "CachyOS",
"repo": "proton-cachyos",
"releasePrefix": "cachyos-",
"releaseSuffix": "-slr",
"tarballPrefix": "proton-",
"tarballSuffix": "-x86_64_v4.tar.xz"
},
"sources": {
"proton": {
"fetcher": "url",
"urlTemplate": "https://github.com/${owner}/${repo}/releases/download/${releasePrefix}${base}-${release}${releaseSuffix}/${tarballPrefix}${releasePrefix}${base}-${release}${releaseSuffix}${tarballSuffix}"
}
},
"variants": {
"cachyos": {
"variables": {
"base": "10.0",
"release": "20260227"
},
"sources": {
"proton": {
"hash": "sha256-kayS0zpBIL2jOM7jxkI0LyhYShQFGCKPdRyiJVOxf6c="
}
}
},
"cachyos-v2": {
"variables": {
"base": "10.0",
"release": "20260227"
},
"sources": {
"proton": {
"hash": "sha256-0DfHCr8orHa+u7i9wFtAttArwQKg5ntRYc0ECfHim+U="
}
}
},
"cachyos-v3": {
"variables": {
"base": "10.0",
"release": "20260227"
},
"sources": {
"proton": {
"hash": "sha256-LI3/Hqe7oNYv5dC5jNz7c+HHNzifeON/bnt6jmD2DRA="
}
}
},
"cachyos-v4": {
"variables": {
"base": "10.0",
"release": "20260227"
},
"sources": {
"proton": {
"hash": "sha256-kcWSmF+qwClI4qUkv3ShVBQ6plQ8q3jyo59o5uN4ueM="
}
}
},
"ge": {
"variables": {
"base": "10",
"release": "26"
},
"sources": {
"proton": {
"hash": "sha256-4v/Z0qHs4wtdo9PcnO2qgodQCNHJhLXvx2ZsAoID+ds="
}
}
}
},
"notes": {
"consumption": "default.nix currently computes the URL from base/release and suffixes. With this schema, keep using those variables (variant.variables.base/release) and the per-variant proton.hash until migrated to an explicit urlTemplate."
}
}