34 lines
822 B
Nix
34 lines
822 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
lib,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (self: {
|
|
pname = "emmy-lua-code-style";
|
|
version = "1.5.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CppCXY";
|
|
repo = "EmmyLuaCodeStyle";
|
|
tag = self.version;
|
|
hash = "sha256-Lzh4ruyrWRTwU95iTMQozpLT5w92owHsDQM874XIuOg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/CppCXY/EmmyLuaCodeStyle";
|
|
changelog = "https://github.com/CppCXY/EmmyLuaCodeStyle/releases/tag/${self.version}";
|
|
description = "Fast, powerful, and feature-rich Lua formatting and checking tool";
|
|
mainProgram = "CodeFormat";
|
|
platforms = lib.platforms.unix;
|
|
license = [ lib.licenses.mit ];
|
|
maintainers = [ lib.maintainers.nobbz ];
|
|
};
|
|
})
|