From 1fee6e149bb0cd4f1c7a751226c9c6090e392025 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 31 Oct 2017 10:38:12 +0000 Subject: [PATCH] luastdlib: 41.2.0 -> 41.2.1 --- pkgs/top-level/lua-packages.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index c94a401db0fb..7a0b0a56c9b4 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -438,12 +438,15 @@ let }; - luastdlib = buildLuaPackage { - name = "stdlib"; + luastdlib = buildLuaPackage rec { + name = "stdlib-${version}"; + version = "41.2.1"; - src = fetchzip { - url = "https://github.com/lua-stdlib/lua-stdlib/archive/release.zip"; - sha256 = "0636absdfjx8ybglwydmqxwfwmqz1c4b9s5mhxlgm4ci18lw3hms"; + src = fetchFromGitHub { + owner = "lua-stdlib"; + repo = "lua-stdlib"; + rev = "release-v${version}"; + sha256 = "03wd1qvkrj50fjszb2apzdkc8d5bpfbbi9pajl0vbrlzzmmi3jlq"; }; nativeBuildInputs = [ autoreconfHook unzip ];