Unverified Commit 11d540c7 authored by Ulysses Zhan's avatar Ulysses Zhan
Browse files

luaPackages.luacov-reporter-lcov: init at 0.2-0

parent e1488334
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ lua_cliargs,,,,,,
luabitop,https://raw.githubusercontent.com/teto/luabitop/master/luabitop-1.0.2-3.rockspec,,,,,
luacheck,,,,,,
luacov,,,,,,
luacov-reporter-lcov,,,,,,ulysseszhan
luadbi,,,,,,
luadbi-mysql,,,,,,
luadbi-postgresql,,,,,,
+33 −0
Original line number Diff line number Diff line
@@ -2415,6 +2415,39 @@ final: prev: {
    }
  ) { };

  luacov-reporter-lcov = callPackage (
    {
      buildLuarocksPackage,
      fetchurl,
      fetchzip,
      luaOlder,
      luacov,
    }:
    buildLuarocksPackage {
      pname = "luacov-reporter-lcov";
      version = "0.2-0";
      knownRockspec =
        (fetchurl {
          url = "mirror://luarocks/luacov-reporter-lcov-0.2-0.rockspec";
          sha256 = "16w0vsv9q69zr0rw61x0p3cly755nzi83c83jk579qhxk16ja6c2";
        }).outPath;
      src = fetchzip {
        url = "https://github.com/daurnimator/luacov-reporter-lcov/archive/v0.2.zip";
        sha256 = "0bw0wyq9zqpcjbqpnlkpxs5g1i015n2rsh0iic4vapmcy7sxlx7w";
      };

      disabled = luaOlder "5.1";
      propagatedBuildInputs = [ luacov ];

      meta = {
        homepage = "https://github.com/daurnimator/luacov-reporter-lcov";
        description = "A luacov reporter for use with lcov";
        maintainers = with lib.maintainers; [ ulysseszhan ];
        license.fullName = "MIT";
      };
    }
  ) { };

  luadbi = callPackage (
    {
      buildLuarocksPackage,