forked from typelevel/cats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
27 lines (25 loc) · 783 Bytes
/
shell.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
let
# use a pinned version of nixpkgs for reproducability
nixpkgs-version = "21.05";
pkgs = import (builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
name = "nixpkgs-${nixpkgs-version}";
url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-version}.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
}) {};
in
with pkgs;
stdenv.mkDerivation {
name = "cats-dev-env";
buildInputs = [
sbt
git # used by sbt-buildinfo
nodejs # used by Scala.js
# used by sbt-microsites
jekyll
ruby
gawk # used by scripts/parse-test-durations.awk
graphviz # used for ScalaDoc diagrams
];
}