2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, python3Packages }:
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "remarkable-mouse";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "7.0.3";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-e6xJBZmWXAPOHNNUMOGLjbe3QmvW0SRwfMNJVZsM3gw=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "remarkable_mouse" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
description = "A program to use a reMarkable as a graphics tablet";
|
|
|
|
homepage = "https://github.com/evidlo/remarkable_mouse";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.nickhu ];
|
|
|
|
};
|
|
|
|
}
|