mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-04 07:02:12 +03:00
33 lines
658 B
Nix
33 lines
658 B
Nix
let
|
|
sources = import ./nix/sources.nix;
|
|
nixpkgs = import sources.nixpkgs { };
|
|
niv = import sources.niv { };
|
|
in with nixpkgs;
|
|
stdenv.mkDerivation {
|
|
name = "noredink-ui";
|
|
buildInputs = [
|
|
# base dependencies
|
|
git
|
|
gnumake
|
|
niv.niv
|
|
jq
|
|
haskellPackages.ormolu
|
|
(haskellPackages.ghcWithPackages (ps: [ ps.shake ]))
|
|
less
|
|
|
|
# node dependencies
|
|
nodejs
|
|
nodePackages.npm
|
|
|
|
# elm dependencies
|
|
elmPackages.elm
|
|
elmPackages.elm-format
|
|
elmPackages.elm-test
|
|
elmPackages.elm-verify-examples
|
|
|
|
# preview dependencies
|
|
entr
|
|
python3
|
|
] ++ lib.optionals stdenv.isLinux [ pkgs.fsatrace pkgs.strace ];
|
|
}
|