2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, python3Packages }:
|
2020-04-24 00:20:40 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "remarkable-mouse";
|
2021-12-16 14:45:06 +00:00
|
|
|
version = "7.0.0";
|
2020-04-24 00:20:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-16 14:45:06 +00:00
|
|
|
sha256 = "0c67cd1ef4c46290cb74731c163c3fefc35590cd24749ec354af23012984d99e";
|
2020-04-24 00:20:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
|
|
|
|
|
2021-01-07 10:40:43 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "remarkable_mouse" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 00:20:40 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|