1 { lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
3 python3Packages.buildPythonApplication rec {
8 src = fetchFromGitHub {
11 rev = "refs/tags/v${version}";
12 sha256 = "sha256-V26zmu8cQkLs0IMR7eFO8x34McnT3xYyzlZfntApYkk=";
15 nativeBuildInputs = with python3Packages; [ pyqt5 setuptools wrapQtAppsHook ];
16 propagatedBuildInputs = with python3Packages; [ pyqt5 paramiko twisted pyjwt pyopenssl service-identity sshtunnel ];
19 pyrcc5 -o src/rmview/resources.py resources.qrc
23 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
27 description = "Fast live viewer for reMarkable 1 and 2";
28 mainProgram = "rmview";
29 homepage = "https://github.com/bordaigorl/rmview";
30 license = licenses.gpl3Only;
31 maintainers = [ maintainers.nickhu ];