keymap/flake.nix

28 lines
622 B
Nix
Raw Normal View History

2022-04-06 14:10:49 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = (pkgs.buildFHSUserEnv {
name = "arduino";
targetPkgs = pkgs: [
pkgs.ncurses
pkgs.arduino
pkgs.arduino-cli
pkgs.zlib
(pkgs.python3.withPackages(ps: [
ps.pyserial
]))
];
multiPkgs = null;
}).env;
});
}