mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #127863 from AndersonTorres/new-qmk
qmk: 0.0.45 -> 0.0.52
This commit is contained in:
commit
09c38c29f2
1 changed files with 35 additions and 14 deletions
|
@ -3,38 +3,59 @@
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
let
|
||||||
|
inherit (python3.pkgs) buildPythonApplication fetchPypi;
|
||||||
|
in
|
||||||
|
buildPythonApplication rec {
|
||||||
pname = "qmk";
|
pname = "qmk";
|
||||||
version = "0.0.45";
|
version = "0.0.52";
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "43f297f36b21d68c34c5efa0ce1449dddb2e28753f80939cadf761ee7a2a0901";
|
sha256 = "sha256-mNF+bRhaL6JhNbROmjYDHkKKokRIALd5FZbRt9Kg5XQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/qmk/qmk_cli/pull/48
|
|
||||||
(fetchpatch {
|
|
||||||
name = "remove-unused-install-requires.patch";
|
|
||||||
url = "https://github.com/qmk/qmk_cli/commit/75b6ada1feccfa5a9bc2bb07a4cc749ef40d02dd.patch";
|
|
||||||
sha256 = "0lwi1dz35p07vha5gwq2jxm5q49vm99ix4jyhd6g6ypqbq1qiwc8";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
flake8
|
||||||
|
nose2
|
||||||
|
pep8-naming
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
|
yapf
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
appdirs
|
||||||
|
argcomplete
|
||||||
|
colorama
|
||||||
|
dotty-dict
|
||||||
|
hid
|
||||||
|
hjson
|
||||||
|
jsonschema
|
||||||
milc
|
milc
|
||||||
|
pygments
|
||||||
|
pyusb
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests implemented
|
# no tests implemented
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A program to help users work with QMK Firmware";
|
|
||||||
homepage = "https://github.com/qmk/qmk_cli";
|
homepage = "https://github.com/qmk/qmk_cli";
|
||||||
|
description = "A program to help users work with QMK Firmware";
|
||||||
|
longDescription = ''
|
||||||
|
qmk_cli is a companion tool to QMK firmware. With it, you can:
|
||||||
|
|
||||||
|
- Interact with your qmk_firmware tree from any location
|
||||||
|
- Use qmk clone to pull down anyone's qmk_firmware fork
|
||||||
|
- Setup and work with your build environment:
|
||||||
|
- qmk setup
|
||||||
|
- qmk doctor
|
||||||
|
- qmk compile
|
||||||
|
- qmk console
|
||||||
|
- qmk flash
|
||||||
|
- qmk lint
|
||||||
|
- ... and many more!
|
||||||
|
'';
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ bhipple ];
|
maintainers = with maintainers; [ bhipple ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue