nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 721 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchPypi, 5 libevdev, 6 paramiko, 7 pynput, 8 screeninfo, 9}: 10 11buildPythonApplication rec { 12 pname = "remarkable-mouse"; 13 version = "7.1.1"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-82P9tE3jiUlKBGZCiWDoL+9VJ06Bc+If+aMfcEEU90U="; 19 }; 20 21 propagatedBuildInputs = [ 22 screeninfo 23 paramiko 24 pynput 25 libevdev 26 ]; 27 28 # no tests 29 doCheck = false; 30 pythonImportsCheck = [ "remarkable_mouse" ]; 31 32 meta = with lib; { 33 description = "Program to use a reMarkable as a graphics tablet"; 34 homepage = "https://github.com/evidlo/remarkable_mouse"; 35 license = licenses.gpl3; 36 maintainers = [ maintainers.nickhu ]; 37 }; 38}