nixpkgs/pkgs/development/interpreters/lua-5
Chuck d13360bfb7 lua5: Fix src URLs
The 672c3c1d2a refactor accidentally
dropped the last version component from the source URLs.  This change
puts its back.

$ for lua in lua5_{1,2,3};do nix-instantiate --json --eval . -A $lua.src.urls | jq -r '.[]' | xargs nix-prefetch-url; done

Before this change:

lua-5.1.tar.gz 1hbjhh211p82vhwqhx4mmhmvhv56060acnka80gbmfdk3q3bjnvz (wrong hash because this is lua 5.1.0.  We want 5.1.5 )
lua-5.2.tar.gz HTTP error 404
lua-5.3.tar.gz HTTP error 404

After this change:

lua-5.1.5.tar.gz 0cskd4w0g6rdm2q8q3i4n1h3j8kylhs3rq8mxwl9vwlmlxbgqh16
lua-5.2.4.tar.gz 0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr <-- Desired hash
lua-5.3.5.tar.gz 1b2qn2rv96nmbm6zab4l877bd4zq7wpwm8drwjiy2ih4jqzysbhc

Converted to base16 with `nix-hash --type sha256 --to-base16`:

lua-5.1.5.tar.gz 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 <-- Desired hash
lua-5.2.4.tar.gz b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b
lua-5.3.5.tar.gz 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac <-- Desired hash
2020-01-31 18:00:45 -08:00
..
5.1.darwin.patch
5.2.darwin.patch
build-lua-package.nix treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
CVE-2014-5461.patch lua5_1: rename patch file to match its CVE id 2019-10-02 22:13:12 +02:00
CVE-2019-6706.patch lua-5.3: add patch for CVE-2019-6706 2019-11-21 11:10:45 +01:00
default.nix lua-5.3: add patch for CVE-2019-6706 2019-11-21 11:10:45 +01:00
filesystem.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
interpreter.nix lua5: Fix src URLs 2020-01-31 18:00:45 -08:00
lua-5.3-dso.make
setup-hook.nix lua: add withPackages function (#54460) 2019-01-30 14:13:15 +00:00
setup-hook.sh lua-5 setup hook: LUA_PATH and LUA_CPATH can be undefined 2019-11-08 13:24:20 -05:00
sockets.nix treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
with-packages.nix lua: add withPackages function (#54460) 2019-01-30 14:13:15 +00:00
wrap-lua.nix Lua generate nix packages from luarocks (#54978) 2019-02-04 11:30:58 +00:00
wrap.sh lua*Packages: Consolidate separate setup hooks together 2019-09-01 17:42:20 +02:00
wrapper.nix lua wrapper: Fix bash error 2019-11-22 19:47:27 -05:00
zip.patch