mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
luaPackages.std.normalize: init at 2.0.1
This commit is contained in:
parent
2f0ff59d89
commit
73ec2c29d4
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user