keymapp: use versioned url for darwin src

This commit is contained in:
Alexis Hildebrandt
2025-11-15 18:36:38 +01:00
parent ffa908d711
commit 0d8dfcdfa3
2 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
stdenv,
stdenvNoCC,
undmg,
pname,
version,
@@ -7,7 +7,7 @@
meta,
...
}:
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
inherit
pname
version

View File

@@ -18,9 +18,7 @@ let
sources = rec {
aarch64-darwin = {
# Upstream does not provide archives of previous versions,
# therefore a capture using the wayback machine is used
url = "https://web.archive.org/web/20250520135916/https://oryx.nyc3.cdn.digitaloceanspaces.com/keymapp/keymapp-latest.dmg";
url = "https://oryx.nyc3.cdn.digitaloceanspaces.com/keymapp/keymapp-${version}.dmg";
hash = "sha256-H6xRau7pWuSF5Aa6lblwi/Lg5KxC+HM3rtUMjX+hEE8=";
};
x86_64-darwin = aarch64-darwin;