From a7434576da6951d19668a4ffa967b4a04e02a797 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:27:56 -0300 Subject: [PATCH] gpt2tc: fix url switching to web.archive.org Upstream is no longer providing this source file. --- pkgs/tools/text/gpt2tc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gpt2tc/default.nix b/pkgs/tools/text/gpt2tc/default.nix index 93cf684c1990..ee78451aae8d 100644 --- a/pkgs/tools/text/gpt2tc/default.nix +++ b/pkgs/tools/text/gpt2tc/default.nix @@ -5,8 +5,8 @@ stdenv.mkDerivation rec { version = "2021-04-24"; src = fetchurl { - url = "https://bellard.org/libnc/gpt2tc-${version}.tar.gz"; - hash = "sha256-kHnRziSNRewifM/oKDQwG27rXRvntuUUX8M+PUNHpA4="; + url = "https://web.archive.org/web/20220603034455/https://bellard.org/libnc/gpt2tc-2021-04-24.tar.gz"; + hash = "sha256-6oTxnbBwjHAXVrWMjOQVwdODbqLRoinx00pi29ff5w0="; }; patches = [