2024-05-04 21:32:49 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
2023-07-31 20:29:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "zx";
|
2024-07-04 16:13:13 +00:00
|
|
|
version = "8.1.4";
|
2023-07-31 20:29:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "zx";
|
|
|
|
rev = version;
|
2024-07-04 16:13:13 +00:00
|
|
|
hash = "sha256-9B/X7lOaNTXRGIteGDnLexVF8joo1m+xsfaqxTL2150=";
|
2023-07-31 20:29:05 +00:00
|
|
|
};
|
|
|
|
|
2024-07-04 16:13:13 +00:00
|
|
|
npmDepsHash = "sha256-HNaREvW8opvxjZWJ7cFrIoF1JELWBemr8VB9DyYdNfA=";
|
2023-07-31 20:29:05 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool for writing scripts using JavaScript";
|
|
|
|
homepage = "https://github.com/google/zx";
|
2024-05-04 21:32:49 +00:00
|
|
|
changelog = "https://github.com/google/zx/releases/tag/${version}";
|
2023-07-31 20:29:05 +00:00
|
|
|
license = lib.licenses.asl20;
|
2024-05-06 14:55:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ jlbribeiro ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "zx";
|
2023-07-31 20:29:05 +00:00
|
|
|
};
|
|
|
|
}
|