forked from M-Labs/thermostat
shell.nix: init
This commit is contained in:
parent
ffcc3f661b
commit
c125e20bdb
17
shell.nix
Normal file
17
shell.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ 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
|
||||
openocd
|
||||
] ++ (with python3Packages; [
|
||||
numpy matplotlib
|
||||
]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user