19 lines
402 B
Nix
19 lines
402 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
(pkgs.haskellPackages.ghcWithPackages (pkgs: with pkgs;
|
|
[
|
|
mtl
|
|
cmdargs
|
|
cryptonite # cryptographic hash functions
|
|
utf8-string # could also be done with Data.Text
|
|
HUnit
|
|
network # sockets
|
|
network-info # for getting local IP address
|
|
time
|
|
]))
|
|
];
|
|
}
|