nixpkgs-suyu/pkgs/applications/misc/remarkable/remarkable-mouse/default.nix
2022-02-25 10:34:15 -08:00

24 lines
666 B
Nix

{ lib, buildPythonApplication, fetchPypi, python3Packages }:
buildPythonApplication rec {
pname = "remarkable-mouse";
version = "7.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kpKA3vrQo45Y6Qy6mcjJxJY3dpXV0ckNIfKdDVS5qhM=";
};
propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
# no tests
doCheck = false;
pythonImportsCheck = [ "remarkable_mouse" ];
meta = with lib; {
description = "A program to use a reMarkable as a graphics tablet";
homepage = "https://github.com/evidlo/remarkable_mouse";
license = licenses.gpl3;
maintainers = [ maintainers.nickhu ];
};
}