1{
2 lib,
3 beautifulsoup4,
4 buildPythonPackage,
5 fetchPypi,
6 pillow,
7 hatchling,
8 pythonOlder,
9 requests,
10 rich,
11 uv-dynamic-versioning,
12}:
13
14buildPythonPackage rec {
15 pname = "getjump";
16 version = "2.8.0";
17 pyproject = true;
18
19 disabled = pythonOlder "3.9";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-FfAwPCbj+0wL+Lgk17peco/ogrsaa6Js+Ay5fqgPUPw=";
24 };
25
26 pythonRelaxDeps = [
27 "pillow"
28 "rich"
29 ];
30
31 build-system = [
32 hatchling
33 uv-dynamic-versioning
34 ];
35
36 dependencies = [
37 beautifulsoup4
38 pillow
39 requests
40 rich
41 ];
42
43 pythonImportsCheck = [ "getjump" ];
44
45 # all the tests talk to the internet
46 doCheck = false;
47
48 meta = with lib; {
49 description = "Get and save images from jump web viewer";
50 homepage = "https://github.com/eggplants/getjump";
51 changelog = "https://github.com/eggplants/getjump/releases/tag/v${version}";
52 license = licenses.mit;
53 maintainers = [ ];
54 mainProgram = "jget";
55 };
56}