luaformatter: init at 1.3.4
This commit is contained in:
parent
f1c25b73f3
commit
18c6f9ca94
30
pkgs/development/tools/luaformatter/default.nix
Normal file
30
pkgs/development/tools/luaformatter/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ cmake, fetchFromGitHub, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "luaformatter";
|
||||
version = "1.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "koihik";
|
||||
repo = "luaformatter";
|
||||
rev = version;
|
||||
sha256 = "163190g37r6npg5k5mhdwckdhv9nwy2gnfp5jjk8p0s6cyvydqjw";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp lua-format $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code formatter for lua";
|
||||
homepage = "https://github.com/koihik/luaformatter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -12608,6 +12608,8 @@ in
|
|||
|
||||
lttv = callPackage ../development/tools/misc/lttv { };
|
||||
|
||||
luaformatter = callPackage ../development/tools/luaformatter { };
|
||||
|
||||
massif-visualizer = libsForQt5.callPackage ../development/tools/analysis/massif-visualizer { };
|
||||
|
||||
maven = maven3;
|
||||
|
|
Loading…
Reference in a new issue