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-03-05 16:20:37 +00:00
|
|
|
version = "7.0.1";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-kpKA3vrQo45Y6Qy6mcjJxJY3dpXV0ckNIfKdDVS5qhM=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|