Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchPypi, 6 pillow, 7 poetry-core, 8 requests, 9 rich, 10}: 11 12buildPythonPackage rec { 13 pname = "getjump"; 14 version = "2.5.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-3VxsKum6aB35XYjz9ZKkUBdPuofOWzG+ttkX9pnzu7U="; 20 }; 21 22 nativeBuildInputs = [ poetry-core ]; 23 24 propagatedBuildInputs = [ 25 beautifulsoup4 26 pillow 27 requests 28 rich 29 ]; 30 31 pythonImportsCheck = [ "getjump" ]; 32 33 # all the tests talk to the internet 34 doCheck = false; 35 36 meta = with lib; { 37 description = "Get and save images from jump web viewer"; 38 homepage = "https://github.com/eggplants/getjump"; 39 license = licenses.mit; 40 maintainers = [ ]; 41 mainProgram = "jget"; 42 }; 43}