2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
beautifulsoup4,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pillow,
|
|
|
|
poetry-core,
|
|
|
|
requests,
|
|
|
|
rich,
|
2023-08-10 07:59:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "getjump";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.5.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-3VxsKum6aB35XYjz9ZKkUBdPuofOWzG+ttkX9pnzu7U=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
beautifulsoup4
|
|
|
|
pillow
|
|
|
|
requests
|
|
|
|
rich
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "getjump" ];
|
2023-08-10 07:59:29 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
# all the tests talk to the internet
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Get and save images from jump web viewer";
|
|
|
|
homepage = "https://github.com/eggplants/getjump";
|
|
|
|
license = licenses.mit;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2023-08-10 07:59:29 +00:00
|
|
|
mainProgram = "jget";
|
|
|
|
};
|
|
|
|
}
|