Merge pull request #127863 from AndersonTorres/new-qmk

qmk: 0.0.45 -> 0.0.52
This commit is contained in:
Anderson Torres 2021-07-03 00:11:41 -03:00 committed by GitHub
commit 09c38c29f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,38 +3,59 @@
, fetchpatch
}:
python3.pkgs.buildPythonApplication rec {
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
in
buildPythonApplication rec {
pname = "qmk";
version = "0.0.45";
version = "0.0.52";
src = python3.pkgs.fetchPypi {
src = fetchPypi {
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; [
flake8
nose2
pep8-naming
setuptools-scm
yapf
];
propagatedBuildInputs = with python3.pkgs; [
appdirs
argcomplete
colorama
dotty-dict
hid
hjson
jsonschema
milc
pygments
pyusb
];
# no tests implemented
doCheck = false;
meta = with lib; {
description = "A program to help users work with QMK Firmware";
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;
maintainers = with maintainers; [ bhipple ];
};