1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ depot, pkgs, ... }:
let
sharedDeps = import ../go-deps.nix { inherit depot pkgs; };
in
sharedDeps // {
# github.com/fsnotify/fsnotify — file system notifications.
#
# Used to watch the directory containing the model, so a save re-runs the
# solver. Kept local rather than promoted into ../go-deps.nix because
# git-blimey already pins its own copy the same way; promoting it would mean
# touching an unrelated project.
fsnotify-fsnotify = depot.nix.buildGo.external {
path = "github.com/fsnotify/fsnotify";
src = pkgs.fetchFromGitHub {
owner = "fsnotify";
repo = "fsnotify";
rev = "v1.9.0";
sha256 = "sha256-WtpE1N6dpHwEvIub7Xp/CrWm0fd6PX7MKA4PV44rp2g=";
};
deps = [ sharedDeps.golang-x-sys-unix ];
};
}
|