coverage-reporter: init at 0.6.17
This commit is contained in:
39
pkgs/by-name/co/coverage-reporter/package.nix
Normal file
39
pkgs/by-name/co/coverage-reporter/package.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
crystal_1_17,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
...
|
||||
}:
|
||||
crystal_1_17.buildCrystalPackage rec {
|
||||
pname = "coverage-reporter";
|
||||
version = "0.6.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coverallsapp";
|
||||
repo = "coverage-reporter";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-wbxPjNAUubbL9TJnyqR7aYkMmADkIuD2PF00xI2wa84=";
|
||||
};
|
||||
|
||||
shardsFile = ./shards.nix;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 bin/coveralls $out/bin/coveralls
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/coverallsapp/coverage-reporter/releases/tag/${src.tag}";
|
||||
description = "Self-contained, universal coverage uploader binary";
|
||||
homepage = "https://github.com/coverallsapp/coverage-reporter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ quadradical ];
|
||||
mainProgram = "coveralls";
|
||||
};
|
||||
}
|
||||
32
pkgs/by-name/co/coverage-reporter/shards.nix
Normal file
32
pkgs/by-name/co/coverage-reporter/shards.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"ameba" = {
|
||||
url = "https://github.com/crystal-ameba/ameba.git";
|
||||
rev = "7174e81a13f3cb3b3d317e236616149b4360de18";
|
||||
sha256 = "1ivrwnnid7gn1aq78vymxxgyjmrmlw5i59gmwxbz8g0ph4nbrd4p";
|
||||
};
|
||||
"crystal-kcov" = {
|
||||
url = "https://github.com/vici37/crystal-kcov.git";
|
||||
rev = "7e49fe22d7d47040c9de77eb77a6daa76ce0655d";
|
||||
sha256 = "1x9yayzh2jz6gs8hvrlyhywmln8mkhhcm6v9x2i3i7cznjl86la6";
|
||||
};
|
||||
"db" = {
|
||||
url = "https://github.com/crystal-lang/crystal-db.git";
|
||||
rev = "v0.12.0";
|
||||
sha256 = "1in8w2dz7nlhqgc9l6b3pi6f944m29nhbg3p5j40qzvsrr8lqaj7";
|
||||
};
|
||||
"spectator" = {
|
||||
url = "https://gitlab.com/arctic-fox/spectator.git";
|
||||
rev = "v0.12.0";
|
||||
sha256 = "1fi8zmcdfyr16pz8dvs39b93zgiirgsyrrp3ysdrlf9mjah0nss8";
|
||||
};
|
||||
"sqlite3" = {
|
||||
url = "https://github.com/crystal-lang/crystal-sqlite3.git";
|
||||
rev = "v0.20.0";
|
||||
sha256 = "0mqy6rc26i0sf2fdllbbzdhbd1d35npmpqqjz0b1n1vrzrm6fg05";
|
||||
};
|
||||
"webmock" = {
|
||||
url = "https://github.com/manastech/webmock.cr.git";
|
||||
rev = "v0.14.0";
|
||||
sha256 = "1h008sx33xq0hha2lxd5dsh2wr7rzlv4nifgr4k5knpw5ahq1f88";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user