Commit Graph

11 Commits

Author SHA1 Message Date
pacien
4b1cb3475d matrix-appservice-discord: set meta.mainProgram 2023-12-11 21:45:14 +01:00
Theodore Ni
f38f3e439b
matrix-appservice-discord: adapt update script to new nix-prefetch-github 2023-07-18 18:16:16 -07:00
Winter
e322e38379 matrix-appservice-discord: run pre/post hooks for overridden phases 2022-11-15 23:26:00 -05:00
pacien
895da4caae matrix-appservice-discord: 1.0.0 -> 3.1.0
- This also takes into account the transfer of the project and repository
  to the matrix-org organisation on GitHub.

- The Node version assertion has been removed because our `pkgs.nodejs`
  already points to version 18.

- This replaces the `.nix` lock file (generated with `yarn2nix`) with a
  hash-pinned fixed-output derivation, which is simpler to work with.

- This replaces the old "generate.sh" script with one that updates all the
  version info and hashes (package.json, source version, source hash,
  and Yarn dependencies hash).
  This is inspired by the update script used for the
  "matrix-appservice-slack" package.

- This switches to srcOnly for node sources.

- Added pkgs.matrix-sdk-crypto-nodejs new required native dependency.
2022-11-15 23:26:00 -05:00
Max
8224781cb0 matrix-appservice-discord: remove references to node-sources 2022-09-21 17:10:25 +02:00
Sumner Evans
093a003639
yarn2nix: allow setting doDist by calling packages 2022-05-31 09:52:09 -06:00
Max
70ac5aea7f
matrix-appservice-discord: unquote ${nodejs.src}
This brings it in line with every other instance of nodejs sources being unpacked like this (see `rg 'tar --no-same-owner --no-same-permissions'`). The extracted node-sources is identical in both cases, however due to this difference in the derivation code, two store paths are produced. At a size of roughly 300MB, that's not exactly negligible.
2022-05-27 16:29:43 +02:00
Frederik Rietdijk
c8dc922788 matrix-appservice-discord: use python3 2021-07-27 20:37:06 +02:00
pacien
92f62de6f1 matrix-appservice-discord: increase test timeout
Hydra and my local machine are sometimes hitting the default timeout.
See https://hydra.nixos.org/build/138032455/nixlog/8/tail
2021-06-06 16:10:42 +02:00
pacien
9474df2285 matrix-appservice-discord: 0.5.2 -> 1.0.0
Upstream now uses Yarn instead of NPM, so we now use yarn2nix instead of
node2nix.
2020-12-27 12:56:57 +01:00
Notkea
523743157a
matrix-appservice-discord: init at 0.5.2 (#62744)
* matrix-appservice-discord: init at 0.5.2

* nixos/matrix-appservice-discord: add module
2020-06-01 08:43:38 +00:00