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