mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Update dependencies * Node 22 is now the new minimum version. * changelog. * Begin porting eslint to new config format. * Make linter happy. * Update reqwest to fix SSL issue? * Fix test types * quick check on ubuntu LTS 24.04 * Change cache key * update rust action * revert mocha due to esminess * Remove the only usage of pqueue * Use babel for TS transformations to get around ESM import bug. * Dependency bundle upgrade * Drop babel, not actually used. * lint * lint * update default config (mostly sections moving around)
25 lines
627 B
Nix
25 lines
627 B
Nix
{ pkgs, lib, config, inputs, ... }:
|
|
let
|
|
pkgs-upstream = import inputs.nixpkgs-upstream { system = pkgs.stdenv.system; };
|
|
in
|
|
{
|
|
packages = [ pkgs.git pkgs.gcc pkgs.pkg-config pkgs.openssl ];
|
|
|
|
# https://devenv.sh/tests/
|
|
enterTest = ''
|
|
echo "Running tests"
|
|
yarn
|
|
'';
|
|
|
|
# https://devenv.sh/services/
|
|
services.redis.enable = true;
|
|
|
|
# https://devenv.sh/languages/
|
|
languages.typescript.enable = true;
|
|
languages.javascript.yarn.enable = true;
|
|
languages.javascript.enable = true;
|
|
languages.javascript.package = pkgs-upstream.nodejs_22;
|
|
languages.rust.enable = true;
|
|
languages.rust.channel = "stable";
|
|
}
|