1{ lib 2, beautifulsoup4 3, buildPythonPackage 4, fetchPypi 5, pillow 6, poetry-core 7, pythonRelaxDepsHook 8, requests 9, rich 10}: 11 12buildPythonPackage rec { 13 pname = "getjump"; 14 version = "2.4.0"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-gu6h9Yb0xdfvdmoeZGQPFCJhBJxuQ4iWlQquig1ljnY="; 20 }; 21 22 nativeBuildInputs = [ 23 poetry-core 24 pythonRelaxDepsHook 25 ]; 26 27 pythonRelaxDeps = [ 28 # remove after https://github.com/eggplants/getjump/pull/123 is released 29 "pillow" 30 ]; 31 32 propagatedBuildInputs = [ 33 beautifulsoup4 34 pillow 35 requests 36 rich 37 ]; 38 39 pythonImportsCheck = [ 40 "getjump" 41 ]; 42 43 # all the tests talk to the internet 44 doCheck = false; 45 46 meta = with lib; { 47 description = "Get and save images from jump web viewer"; 48 homepage = "https://github.com/eggplants/getjump"; 49 license = licenses.mit; 50 maintainers = [ maintainers.marsam ]; 51 mainProgram = "jget"; 52 }; 53}