mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
qmk: 0.0.52 -> 1.0.0
This commit is contained in:
parent
9e3fee0724
commit
d4ff22bee8
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user