1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ depot, pkgs, ... }:
let
# Import git-blimey's go-deps for shared dependencies (bubbletea, lipgloss, etc.)
gitBlimeyDeps = import ../git-blimey/go-deps.nix { inherit depot pkgs; };
# Import shared deps for ncruces/go-sqlite3 components
sharedDeps = import ../go-deps.nix { inherit depot pkgs; };
in
gitBlimeyDeps // rec {
# Import modernc.org/sqlite from shared deps
inherit (sharedDeps) modernc-sqlite modernc-libc modernc-mathutil modernc-memory;
inherit (sharedDeps) dustin-go-humanize remyoudompheng-bigfft;
# golang.org/x/text - Text processing (for Unicode normalization in db.go)
golang-x-text = depot.nix.buildGo.external {
path = "golang.org/x/text";
src = pkgs.fetchgit {
url = "https://go.googlesource.com/text";
rev = "v0.30.0";
hash = "sha256-ft2iBz3ScM2vEbmR7BrxpsvwL0Cq5+XENA5zg+Z3910=";
};
};
}
|