mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
syntax: init at 0.1.27
This commit is contained in:
parent
be4704f84a
commit
2bf9847a02
30
pkgs/by-name/sy/syntax/package.nix
Normal file
30
pkgs/by-name/sy/syntax/package.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user