depot/third_party/nixpkgs/pkgs/by-name/as/assemblyscript/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 lines
598 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "assemblyscript";
version = "0.27.23";
src = fetchFromGitHub {
owner = "AssemblyScript";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pKb46AfL5MGKiH1AjyPeHw7ZeLnIiPYmf8b2bOkuRe0=";
};
npmDepsHash = "sha256-io/3T0LE1kupjtMg8rpQlRmIn048X0jqhKKj/W7Ilo0=";
meta = with lib; {
homepage = "https://github.com/AssemblyScript/${pname}";
description = "TypeScript-like language for WebAssembly";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];
};
}