-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathshell.nix
More file actions
58 lines (54 loc) · 1.49 KB
/
shell.nix
File metadata and controls
58 lines (54 loc) · 1.49 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
stdenv,
pkgs,
lib,
}:
# juno requires building with clang, not gcc
(pkgs.mkShell.override {stdenv = pkgs.clangStdenv;}) {
buildInputs = with pkgs;
[
# Go 1.23 + tools
go_1_23
gopls
delve
# override to lock 1.64 version that is currently used by CI
(golangci-lint.overrideAttrs (old: rec {
version = "1.64.8";
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
hash = "sha256-H7IdXAleyzJeDFviISitAVDNJmiwrMysYcGm6vAoWso=";
};
vendorHash = "sha256-i7ec4U4xXmRvHbsDiuBjbQ0xP7xRuilky3gi+dT1H10=";
ldflags = [
"-s"
"-X main.version=${version}"
"-X main.commit=v${version}"
"-X main.date=19700101-00:00:00"
];
}))
gotools
# Official golang implementation of the Ethereum protocol (e.g., geth, abigen, rlpdump, etc.)
go-ethereum
go-mockery
# Protobuf + plugins/tools
protobuf
# Go support for Google's protocol buffers
protoc-gen-go
protolint
# Atlas + Beholder tools
redpanda
# Extra tools
python3
postgresql_15
jq
]
++ lib.optionals stdenv.isLinux [
# Notice: currently only available on Linux, needs to be packaged for other platforms (e.g. macOS)
(pkgs.callPackage ./aptos.nix {})
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
}