5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
32 lines
658 B
Nix
32 lines
658 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "karma";
|
|
version = "6.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "karma-runner";
|
|
repo = "karma";
|
|
rev = "v${version}";
|
|
hash = "sha256-v6IiLz65NS8GwM/FPqRxR5qcFDDu7EqloR0SIensdDI=";
|
|
};
|
|
|
|
patches = [
|
|
./fix-package-lock.patch
|
|
];
|
|
|
|
npmDepsHash = "sha256-nX4/96WdPEDZ6DASp+AOBbBbHyq+p2zIh2dZUbtmIPI=";
|
|
|
|
env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = true;
|
|
|
|
meta = {
|
|
description = "Spectacular Test Runner for JavaScript";
|
|
homepage = "http://karma-runner.github.io/";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "karma";
|
|
maintainers = [ ];
|
|
};
|
|
}
|