33 lines
669 B
Nix
33 lines
669 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShell = pkgs.mkShell rec {
|
|
buildInputs = with pkgs; [
|
|
gnumake
|
|
gcc
|
|
gdb
|
|
cmake
|
|
cppcheck
|
|
python312Packages.pip
|
|
lcov
|
|
clang-tools
|
|
picotool
|
|
gcc-arm-embedded
|
|
openocd
|
|
];
|
|
};
|
|
|
|
packages.default = pkgs.mkDerivation {};
|
|
}
|
|
);
|
|
}
|
|
|