nixpkgs/pkgs/tools/system/zx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
653 B
Nix
Raw Normal View History

{
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";
changelog = "https://github.com/google/zx/releases/tag/${version}";
2023-07-31 20:29:05 +00:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jlbribeiro ];
2023-11-27 01:17:53 +00:00
mainProgram = "zx";
2023-07-31 20:29:05 +00:00
};
}