luaPackages.std.normalize: init at 2.0.1

This commit is contained in:
Luka Blaskovic 2018-02-25 21:15:19 +00:00 committed by Jörg Thalheim
parent 2f0ff59d89
commit 73ec2c29d4

View File

@ -754,6 +754,36 @@ let
};
};
std.normalize = buildLuaPackage rec {
name = "std.normalize-${version}";
version = "2.0.1";
src = fetchFromGitHub {
owner = "lua-stdlib";
repo = "normalize";
rev = "v${version}";
sha256 = "1yz96r28d2wcgky6by92a21755bf4wzpn65rdv2ps0fxywgw5rda";
};
propagatedBuildInputs = [ std._debug ];
# No Makefile.
dontBuild = true;
installPhase = ''
mkdir -p $out/share/lua/${lua.luaversion}/std
cp -r lib/std/normalize $out/share/lua/${lua.luaversion}/std/
'';
meta = with stdenv.lib; {
description = "Normalized Lua Functions";
homepage = https://lua-stdlib.github.io/normalize;
license = licenses.mit;
maintainers = with maintainers; [ lblasc ];
platforms = platforms.unix;
};
};
vicious = stdenv.mkDerivation rec {
name = "vicious-${version}";
version = "2.3.1";