Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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 = [ ];
|
|
};
|
|
}
|