Add keymap drawer binary
This commit is contained in:
parent
8494b9cf92
commit
c6fbdc3c5f
4 changed files with 68 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
inputs = {
|
||||
# Pin this to 23.11 to provide py3.8 needed for the sdk-ng without building it ourselves
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
# Zephyr version determining which requirements.txt to use to install python dependencies
|
||||
zephyr.url = "github:zephyrproject-rtos/zephyr/v3.5.0";
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
# Zephyr sdk and host tools
|
||||
zephyr-nix.url = "github:urob/zephyr-nix";
|
||||
zephyr-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# zephyr-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
zephyr-nix.inputs.zephyr.follows = "zephyr";
|
||||
};
|
||||
|
||||
|
@ -19,10 +19,12 @@
|
|||
devShells = forAllSystems (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
zephyr = zephyr-nix.packages.${system};
|
||||
keymap_drawer = pkgs.python3Packages.callPackage ./keymap_drawer.nix { };
|
||||
|
||||
in {
|
||||
default = pkgs.mkShell {
|
||||
packages = [
|
||||
keymap_drawer
|
||||
zephyr.hosttools-nix
|
||||
zephyr.pythonEnv
|
||||
(zephyr.sdk.override { targets = [ "arm-zephyr-eabi" ]; })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue