1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00
Files
go-inbucket/shell.nix
James Hillyerd 69b6225554 storage: emit AfterMessageDeleted events (#334)
* Ignore test lua script

Signed-off-by: James Hillyerd <james@hillyerd.com>

* Wire ExtHost into storage system
imports

Signed-off-by: James Hillyerd <james@hillyerd.com>

* storage/file: emit deleted events

Signed-off-by: James Hillyerd <james@hillyerd.com>

* storage/mem: emit deleted events

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>
2023-02-13 17:11:04 -08:00

36 lines
681 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
scripts = {
# Quick test script.
qt = pkgs.writeScriptBin "qt" ''
# Builds & starts inbucket, then sends it some test mail.
make build test inbucket || exit
(sleep 3; etc/swaks-tests/run-tests.sh >/dev/null) &
env INBUCKET_LOGLEVEL=debug ./inbucket
'';
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
act
dpkg
delve
elmPackages.elm
elmPackages.elm-analyse
elmPackages.elm-format
elmPackages.elm-json
elmPackages.elm-language-server
elmPackages.elm-test
go_1_18
golint
gopls
nodejs-16_x
nodePackages.yarn
rpm
swaks
scripts.qt
];
}