Commit 6154b414 authored by Norbert Melzer's avatar Norbert Melzer
Browse files

emmy-lua-code-style: init at 1.5.7

parent bcd08f05
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})