Unverified Commit 989fab7d authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.keyboard: 0.13.5 -> 0.13.5-unstable-2023-01-31 (#486739)

parents ac055f38 2ecb74d7
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -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,8 +31,9 @@ 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 = [ ];
    maintainers = with lib.maintainers; [ ulysseszhan ];
    platforms = lib.platforms.linux;
  };
}