From d52441eb6ddef5d8800e1ae7927b343156b7c839 Mon Sep 17 00:00:00 2001 From: Noah Gitsham Date: Sun, 29 Sep 2024 23:12:20 +0100 Subject: [PATCH] baudline: fix source url 404 Switch download url from official website (which 404s) to that of the latest available snapshot url on the internet archive. Interestingly the hash has changed, the baudline devs may have changed the file without incrementing the version at some point between the date of this older archive and the newer file previously used in nixpkgs. --- pkgs/by-name/ba/baudline/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ba/baudline/package.nix b/pkgs/by-name/ba/baudline/package.nix index 92bedea2b83f..6dec714c2e4f 100644 --- a/pkgs/by-name/ba/baudline/package.nix +++ b/pkgs/by-name/ba/baudline/package.nix @@ -28,13 +28,13 @@ stdenv.mkDerivation rec { src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchurl { - url = "https://www.baudline.com/baudline_${version}_linux_x86_64.tar.gz"; - sha256 = "09fn0046i69in1jpizkzbaq5ggij0mpflcsparyskm3wh71mbzvr"; + url = "https://web.archive.org/web/20230130224632/https://www.baudline.com/baudline_${version}_linux_x86_64.tar.gz"; + hash = "sha256-RG8QPSXHo2qfOEn6eWWTh0ilg44tI1KyjXFm+SYnKKM="; } else if stdenv.hostPlatform.system == "i686-linux" then fetchurl { - url = "https://www.baudline.com/baudline_${version}_linux_i686.tar.gz"; - sha256 = "1waip5pmcf5ffcfvn8lf1rvsaq2ab66imrbfqs777scz7k8fhhjb"; + url = "https://web.archive.org/web/20230130224632/https://www.baudline.com/baudline_${version}_linux_i686.tar.gz"; + hash = "sha256-2A13FyUl4NNWzRConw6gGjBaHxCXYlwtgxbz0ARgI28="; } else throw "baudline isn't supported (yet?) on ${stdenv.hostPlatform.system}";