f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
43 lines
764 B
Nix
43 lines
764 B
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pillow,
|
|
poetry-core,
|
|
requests,
|
|
rich,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "getjump";
|
|
version = "2.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3VxsKum6aB35XYjz9ZKkUBdPuofOWzG+ttkX9pnzu7U=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
pillow
|
|
requests
|
|
rich
|
|
];
|
|
|
|
pythonImportsCheck = [ "getjump" ];
|
|
|
|
# all the tests talk to the internet
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Get and save images from jump web viewer";
|
|
homepage = "https://github.com/eggplants/getjump";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
mainProgram = "jget";
|
|
};
|
|
}
|