thermostat/shell.nix

18 lines
440 B
Nix
Raw Normal View History

2020-12-09 07:46:31 +08:00
{ mozillaOverlay ? builtins.fetchTarball "https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz"
}:
let
pkgs = import <nixpkgs> {
overlays = [ (import mozillaOverlay) ];
};
rust = pkgs.rustChannelOfTargets "nightly" null [ "thumbv7em-none-eabihf" ];
in
pkgs.mkShell {
name = "thermostat-env";
buildInputs = with pkgs; [
rust gcc
2020-12-13 09:31:19 +08:00
openocd dfu-util
2020-12-09 07:46:31 +08:00
] ++ (with python3Packages; [
numpy matplotlib
]);
}