mpv: Use archived version of FSRCNNX

The author often replaces the GitHub release artifacts which causes hash
mismatches.
This commit is contained in:
Simon Bruder 2022-06-09 23:26:01 +02:00
parent b948f46fad
commit ca8f640fbe
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -11,8 +11,9 @@ let
shaders = {
fsrcnnx_x2 = pkgs.fetchurl {
url = "https://github.com/igv/FSRCNN-TensorFlow/releases/download/1.1/FSRCNNX_x2_8-0-4-1.glsl";
sha256 = "03qv0l3b1bznarlv0jpi4gqg1zg3khsw5cp8pmabg73k0xpcwqix";
name = "FSRCNNX_x2_8-0-4-1.glsl";
url = "https://web.archive.org/web/20220609155212/https://objects.githubusercontent.com/github-production-release-asset-2e65be/99480330/aa89f8b1-35e1-49b5-8c04-9039d5263eb3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220609%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220609T155212Z&X-Amz-Expires=300&X-Amz-Signature=8c60c1bbae7befb9a3f803f286a0471fdad6b77b83cfd87e3ff3b74f0a1bfb3f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=99480330&response-content-disposition=attachment%3B%20filename%3DFSRCNNX_x2_8-0-4-1.glsl&response-content-type=application%2Foctet-stream";
sha256 = "sha256-6ADbxcHJUYXMgiFsWXckUz/18ogBefJW7vYA8D6Nwq4=";
meta.license = lib.licenses.mit;
};