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