all recent config changes
This commit is contained in:
36
mods/nurPkgs/zmk-cli.nix
Normal file
36
mods/nurPkgs/zmk-cli.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.python3Packages.buildPythonApplication rec {
|
||||
pname = "zmk-cli";
|
||||
version = "0.5.0";
|
||||
pyproject = true; # Tells Nix to expect a pyproject.toml instead of setup.py
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "zmkfirmware";
|
||||
repo = "zmk-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GhECLAvs4qkUGeINDSF4oJtZnXHxljmVVERyoezt35w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs.python3Packages; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pkgs.python3Packages; [
|
||||
dacite
|
||||
giturlparse
|
||||
mako
|
||||
rich
|
||||
ruamel-yaml
|
||||
shellingham
|
||||
typer
|
||||
west
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Command line tool for the ZMK Firmware";
|
||||
homepage = "https://github.com/zmkfirmware/zmk-cli";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user