diff --git a/pkgs/development/compilers/assemblyscript/default.nix b/pkgs/development/compilers/assemblyscript/default.nix new file mode 100644 index 000000000000..6fe1385bb3fe --- /dev/null +++ b/pkgs/development/compilers/assemblyscript/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "assemblyscript"; + version = "0.27.5"; + + src = fetchFromGitHub { + owner = "AssemblyScript"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-3dWIYkiAA61xbUXJGmb/amjHmyXYoy16lLIAZR4sD5k="; + }; + + npmDepsHash = "sha256-9ILa1qY2GpP2RckcZYcCMmgCwdXIImOm+D8nldeoQL8="; + + meta = with lib; { + homepage = "https://github.com/AssemblyScript/${pname}"; + description = "A TypeScript-like language for WebAssembly"; + license = licenses.asl20; + maintainers = with maintainers; [ lucperkins ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b9723ab9aae..59c3d951b4b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -306,6 +306,8 @@ with pkgs; asn1c = callPackage ../development/compilers/asn1c { }; + assemblyscript = callPackage ../development/compilers/assemblyscript { }; + authy = callPackage ../applications/misc/authy { }; authz0 = callPackage ../tools/security/authz0 { };