From d568532b57b9b2cc6e3a015124472dd5d6e7e21c Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 8 Aug 2023 15:16:58 -0400 Subject: [PATCH] Revert "Update packages" This reverts commit 11e605440d25d5799ade582e29a3d7226821b948. --- sources/gamescope.json | 4 ++-- sources/pyprland.json | 4 ++-- sources/update-sources.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sources/gamescope.json b/sources/gamescope.json index ab7b399..e05ca94 100644 --- a/sources/gamescope.json +++ b/sources/gamescope.json @@ -1,4 +1,4 @@ { - "rev": "540323ac37fc5fdce998a409e18ecafbdfdcc7ee", - "hash": "0xrm6cnf2xamnklran5k5nck0m4g9jz5qrn2nj132ssi36zxdiqi" + "rev": "50eaf7531781bc680f9dd8758ec7de042671569f", + "hash": "sha256-1pSFqQNvLuEdZYEWvxxyJeP0Us+Quhz7aZSZ9KEPbxI=" } diff --git a/sources/pyprland.json b/sources/pyprland.json index f3e442a..8a2506b 100644 --- a/sources/pyprland.json +++ b/sources/pyprland.json @@ -1,4 +1,4 @@ { - "rev": "c710e7691203fe4d7e310a1e5b56020734913390", - "hash": "1apfn6whfi2srnaim4b35y80m8ca85svmynj0p4cjp5p3q6kpanl" + "rev": "a0f3ca2a833c00cc9c266316a155617b478e4ce4", + "hash": "sha256-kIArdWhQyYpbfCa4sevepsKi035Lm95cH6vdXzG1qmE=" } diff --git a/sources/update-sources.sh b/sources/update-sources.sh index 464d417..976eb93 100755 --- a/sources/update-sources.sh +++ b/sources/update-sources.sh @@ -32,7 +32,7 @@ echo "swayimg now at $SWAYIMG_VERSION" PYPRLAND_BRANCH=$(curl https://api.github.com/repos/hyprland-community/pyprland | jq -r '.default_branch') PYPRLAND_REV=$(curl https://api.github.com/repos/hyprland-community/pyprland/git/refs/heads/$PYPRLAND_BRANCH | \ jq -r '.object.sha') -PYPRLAND_HASH=$(nix-prefetch-git --url "https://github.com/hyprland-community/pyprland" --rev "$PYPRLAND_REV" --quiet | jq '.sha256' -r) +PYPRLAND_HASH=$(nix-prefetch fetchFromGitHub --owner hyprland-community --repo pyprland --rev $PYPRLAND_REV) jq --null-input \ --arg rev "$PYPRLAND_REV" \ --arg hash "$PYPRLAND_HASH" \ @@ -44,7 +44,7 @@ echo "pyprland now at $PYPRLAND_REV" GAMESCOPE_BRANCH=$(curl https://api.github.com/repos/ValveSoftware/gamescope | jq -r '.default_branch') GAMESCOPE_REV=$(curl https://api.github.com/repos/ValveSoftware/gamescope/git/refs/heads/$GAMESCOPE_BRANCH | \ jq -r '.object.sha') -GAMESCOPE_HASH=$(nix-prefetch-git --url "https://github.com/ValveSoftware/gamescope" --rev "$GAMESCOPE_REV" --quiet | jq '.sha256' -r) +GAMESCOPE_HASH=$(nix-prefetch fetchFromGitHub --owner ValveSoftware --repo gamescope --rev $GAMESCOPE_REV --fetchSubmodules) jq --null-input \ --arg rev "$GAMESCOPE_REV" \ --arg hash "$GAMESCOPE_HASH" \