python311Packages.gpiozero: 1.6.2 -> 2.0
https://gpiozero.readthedocs.io/en/latest/changelog.html#release-2-0-2023-09-12
This commit is contained in:
parent
a280ee5731
commit
8ef11ee7a6
|
@ -4,14 +4,13 @@
|
|||
, sphinx-rtd-theme
|
||||
, sphinxHook
|
||||
, colorzero
|
||||
, mock
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gpiozero";
|
||||
version = "1.6.2";
|
||||
version = "2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -20,9 +19,14 @@ buildPythonPackage rec {
|
|||
owner = "gpiozero";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dmFc3DNTlEajYQ5e8QK2WfehwYwAsWyG2cxKg5ykEaI=";
|
||||
hash = "sha256-6qSB9RMypNXNj+Ds1nyzB7iaeHXvF0swSubrJSn2L34=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
|
@ -38,7 +42,6 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue