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";
|
2021-12-21 02:18:32 +00:00
|
|
|
version = "7.0.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-21 02:18:32 +00:00
|
|
|
sha256 = "0c67cd1ef4c46290cb74731c163c3fefc35590cd24749ec354af23012984d99e";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|