-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.nix
75 lines (61 loc) · 1.74 KB
/
default.nix
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
final: prev:
let
unstable = import ./nixpkgs-src.nix {
inherit (prev) lib;
system = prev.stdenv.system;
};
inherit (unstable.pkgs) callPackage;
dart = callPackage ./pkgs/dart { inherit unstable; };
flutter = callPackage ./pkgs/flutter { inherit (final.nubank) dart; };
flutter-patch = callPackage ./pkgs/flutter-patch {};
hover = unstable.hover.override { inherit (final.nubank) flutter; };
nodejs = unstable.nodejs-14_x;
yarn = (unstable.yarn.override { inherit (final.nubank) nodejs; });
leiningen = (unstable.leiningen.override { jdk = unstable.openjdk11; });
terraform = (unstable.mkTerraform {
version = "1.0.2";
sha256 = "sha256-KmSkHJ5RB2cP4z/IT/p+LHm658soM0IS0TPYKxU02z4=";
vendorSha256 = "sha256-s5HFBPWv7OEvgMBkAVZNivk6tD1T3QjUDqsIU9TPLmA=";
});
in
{
nubank = {
# Custom packages
inherit dart flutter flutter-patch hover nodejs yarn leiningen;
# Meta packages
all-tools = with final.nubank; cli-tools ++ clojure-tools ++ jupyter-tools;
cli-tools = with unstable; [
aws-iam-authenticator
awscli
circleci-cli
fzf
gettext
github-cli
jq
kubectl
minikube
nodejs
nssTools
openfortivpn
openssl
python38Full
sassc
tektoncd-cli
terraform
yarn
# TODO: ruby is installed by Ansible, but I never saw it used in Nubank
# ruby
];
clojure-tools = with unstable; [
babashka
clj-kondo
clojure
clojure-lsp
leiningen
lumo
];
jupyter-tools = with unstable; [ jupyter python38Packages.jupyter_core ];
# Some Nubankers prefer custom clients, so don't include this set in all-tools
desktop-tools = with unstable; [ slack zoom-us ];
};
}