noredink-ui/shell.nix

31 lines
649 B
Nix
Raw Normal View History

2019-10-28 17:43:14 +03:00
let
sources = import ./nix/sources.nix;
nixpkgs = import sources.nixpkgs { };
niv = import sources.niv { };
in with nixpkgs;
2018-12-19 01:43:08 +03:00
stdenv.mkDerivation {
name = "noredink-ui";
buildInputs = [
# base dependencies
git
2019-10-28 17:43:14 +03:00
niv.niv
jq
2020-10-28 01:29:44 +03:00
haskellPackages.ormolu
(haskellPackages.ghcWithPackages (ps: [ ps.shake ]))
2018-12-19 01:43:08 +03:00
# node dependencies
2019-02-12 22:10:15 +03:00
nodejs
2018-12-19 01:43:08 +03:00
nodePackages.npm
2019-04-01 17:26:15 +03:00
2020-10-29 00:47:30 +03:00
# elm dependencies
elmPackages.elm
elmPackages.elm-format
elmPackages.elm-test
elmPackages.elm-verify-examples
2019-04-01 17:26:15 +03:00
# preview dependencies
2019-04-02 23:07:26 +03:00
entr
2019-04-01 17:26:15 +03:00
python3
] ++ lib.optionals stdenv.isLinux [ pkgs.fsatrace pkgs.strace pkgs.cacert ];
2018-12-19 01:43:08 +03:00
}