diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/psst')
-rw-r--r-- | nixpkgs/pkgs/applications/audio/psst/default.nix | 2 | ||||
-rwxr-xr-x | nixpkgs/pkgs/applications/audio/psst/update.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/audio/psst/default.nix b/nixpkgs/pkgs/applications/audio/psst/default.nix index 46958b01bd1c..7abb8e78d161 100644 --- a/nixpkgs/pkgs/applications/audio/psst/default.nix +++ b/nixpkgs/pkgs/applications/audio/psst/default.nix @@ -16,7 +16,7 @@ let in rustPlatform.buildRustPackage rec { pname = "psst"; - version = "unstable-2024-03-04"; + version = "unstable-2024-02-11"; src = fetchFromGitHub { owner = "jpochyla"; diff --git a/nixpkgs/pkgs/applications/audio/psst/update.sh b/nixpkgs/pkgs/applications/audio/psst/update.sh index a504b61c2410..4ffa9417f040 100755 --- a/nixpkgs/pkgs/applications/audio/psst/update.sh +++ b/nixpkgs/pkgs/applications/audio/psst/update.sh @@ -24,7 +24,9 @@ if [ -z "$rev" ]; then rev="$(wget -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/jpochyla/psst/commits?per_page=1" | jq -r '.[0].sha')" fi -version="unstable-$(date +%F)" +date="$(wget -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/jpochyla/psst/commits/$rev" | jq -r '.commit.author.date' | cut -dT -f1)" + +version="unstable-$date" # Sources src_hash=$(nix-prefetch-github jpochyla psst --rev "$rev" | jq -r .hash) |