at 23.11-beta 832 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, poetry-core 6, asks 7, trio 8, xdg 9}: 10 11buildPythonPackage rec { 12 pname = "rmcl"; 13 version = "0.4.2"; 14 15 disabled = pythonOlder "3.7"; 16 17 format = "pyproject"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "58de4758e7e3cb7acbf28fcfa80f4155252afdfb191beb4ba4aa36961f66cc67"; 22 }; 23 24 postPatch = '' 25 substituteInPlace pyproject.toml \ 26 --replace '= "^' '= ">=' 27 ''; 28 29 nativeBuildInputs = [ 30 poetry-core 31 ]; 32 33 propagatedBuildInputs = [ 34 asks 35 trio 36 xdg 37 ]; 38 39 # upstream has no tests 40 doCheck = false; 41 42 pythonImportsCheck = [ "rmcl" ]; 43 44 meta = { 45 description = "ReMarkable Cloud Library"; 46 homepage = "https://github.com/rschroll/rmcl"; 47 license = lib.licenses.mit; 48 maintainers = with lib.maintainers; [ dotlambda ]; 49 }; 50}