python3Packages.keyboard: 0.13.5 -> 0.13.5-unstable-2023-01-31

This commit is contained in:
Ulysses Zhan
2026-02-15 09:32:59 -08:00
parent 44bf6738d8
commit 2ecb74d773
@@ -2,20 +2,25 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "keyboard";
version = "0.13.5";
format = "setuptools";
# the commit tagged v0.13.5 on github actually has version 0.13.4,
# and fetchPypi reports 404 error; very strange!
version = "0.13.5-unstable-2023-01-31";
src = fetchFromGitHub {
owner = "boppreh";
repo = "keyboard";
rev = "v${version}";
hash = "sha256-U4GWhPp28azBE3Jn9xpLxudOKx0PjnYO77EM2HsJ9lM=";
rev = "d232de09bda50ecb5211ebcc59b85bc6da6aaa24";
hash = "sha256-Xk419Zvx9pDgMcaWZn52WD41cFaXXzJlvmPGxaWdR0k=";
};
pyproject = true;
build-system = [ setuptools ];
pythonImportsCheck = [ "keyboard" ];
# Specific OS tests are being run for other OS, like
@@ -26,6 +31,7 @@ buildPythonPackage rec {
meta = {
description = "Hook and simulate keyboard events on Windows and Linux";
homepage = "https://github.com/boppreh/keyboard";
changelog = "https://github.com/boppreh/keyboard/releases";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ulysseszhan ];
platforms = lib.platforms.linux;