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.11";
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 = "162dywda2dvfj1248afxc45kcrg83appjd0nmdb541hl7rnncf02";
}) {};
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
];
}