qmk: 0.0.52 -> 1.0.0

This commit is contained in:
Bastien Riviere 2021-09-07 11:20:44 +02:00 committed by Raphael Megzari
parent 9e3fee0724
commit d4ff22bee8

View File

@ -1,18 +1,18 @@
{ lib { lib, python3, fetchpatch, writeText }:
, python3
, fetchpatch
}:
let let
inherit (python3.pkgs) buildPythonApplication fetchPypi; inherit (python3.pkgs) buildPythonApplication fetchPypi;
in setuppy = writeText "setup.py" ''
buildPythonApplication rec { from setuptools import setup
setup()
'';
in buildPythonApplication rec {
pname = "qmk"; pname = "qmk";
version = "0.0.52"; version = "1.0.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-mNF+bRhaL6JhNbROmjYDHkKKokRIALd5FZbRt9Kg5XQ="; sha256 = "sha256-2mLuxzxFSMw3sLm+OTcgLcOjAdwvJmNhDsynUaYQ+co=";
}; };
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
@ -27,7 +27,7 @@ buildPythonApplication rec {
appdirs appdirs
argcomplete argcomplete
colorama colorama
dotty-dict qmk-dotty-dict
hid hid
hjson hjson
jsonschema jsonschema
@ -36,6 +36,10 @@ buildPythonApplication rec {
pyusb pyusb
]; ];
postConfigure = ''
cp ${setuppy} setup.py
'';
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;
@ -57,6 +61,6 @@ buildPythonApplication rec {
- ... and many more! - ... and many more!
''; '';
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ bhipple ]; maintainers = with maintainers; [ bhipple babariviere ];
}; };
} }