depot/third_party/nixpkgs/pkgs/development/compilers/elm/packages/elm-test.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

32 lines
785 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "elm-test";
version = "0.19.1-revision12";
src = fetchFromGitHub {
owner = "rtfeldman";
repo = "node-test-runner";
rev = version;
hash = "sha256-cnxAOFcPTJjtHi4VYCO9oltb5iOeDnLvRgnuJnNzjsY=";
};
npmDepsHash = "sha256-QljHVrmF6uBem9sW67CYduCro3BqF34EPGn1BtKqom0=";
postPatch = ''
sed -i '/elm-tooling install/d' package.json
'';
dontNpmBuild = true;
meta = {
changelog = "https://github.com/rtfeldman/node-test-runner/blob/${src.rev}/CHANGELOG.md";
description = "Runs elm-test suites from Node.js";
homepage = "https://github.com/rtfeldman/node-test-runner";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ turbomack ];
};
}