diff options
author | h7x4 <h7x4@nani.wtf> | 2023-11-08 09:05:27 +0100 |
---|---|---|
committer | h7x4 <h7x4@nani.wtf> | 2023-12-06 21:00:53 +0100 |
commit | 2bf9847a020fa2d0bb62eff51d7e4dac135affce (patch) | |
tree | 1575b0f651fb9550fe4f715fa52aa2b78046970e /pkgs/by-name/sy | |
parent | be4704f84aeefc9561a0abc61d84e244710a54de (diff) |
syntax: init at 0.1.27
Diffstat (limited to 'pkgs/by-name/sy')
-rw-r--r-- | pkgs/by-name/sy/syntax/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/sy/syntax/package.nix b/pkgs/by-name/sy/syntax/package.nix new file mode 100644 index 0000000000000..eceffd5aa0b4e --- /dev/null +++ b/pkgs/by-name/sy/syntax/package.nix @@ -0,0 +1,30 @@ +{ lib +, fetchFromGitHub +, buildNpmPackage +, stdenv +, nix-update-script +}: + +buildNpmPackage rec { + pname = "syntax"; + version = "0.1.27"; + src = fetchFromGitHub { + owner = "DmitrySoshnikov"; + repo = "syntax"; + rev = "v${version}"; + hash = "sha256-5ZbelnZQvJ9k4GbWR+lDEgxXGLt4VsXput9nBV8nUdc="; + }; + + npmDepsHash = "sha256-jZwbRGGg4tek6Jr+V7/SceJlsbIv7jFWQ+qa+fnChTw="; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + homepage = "https://github.com/DmitrySoshnikov/syntax"; + description = "Syntactic analysis toolkit, language-agnostic parser generator"; + license = licenses.mit; + maintainers = with maintainers; [ h7x4 ]; + mainProgram = "syntax-cli"; + broken = stdenv.isDarwin; + }; +} |