2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "zx";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "8.1.2";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "zx";
|
|
|
|
rev = version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-tv66idt+IfELc5TpMwDujJeIOi+kxFSl3RX3SrYL9ac=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
npmDepsHash = "sha256-WZJDbdqoy/JkKAR00nG4IdM6okHLsqfudHw0Gs+WntM=";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool for writing scripts using JavaScript";
|
|
|
|
homepage = "https://github.com/google/zx";
|
2024-06-05 15:53:02 +00:00
|
|
|
changelog = "https://github.com/google/zx/releases/tag/${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = lib.licenses.asl20;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with lib.maintainers; [ jlbribeiro ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "zx";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
}
|