23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
46 lines
785 B
Nix
46 lines
785 B
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pillow
|
|
, poetry-core
|
|
, requests
|
|
, rich
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "getjump";
|
|
version = "2.4.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WSLfhVCqP+N+2Rs2PUXOknnlNx3UtWdFYrK1lTW1fqQ=";
|
|
};
|
|
|
|
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 = [ maintainers.marsam ];
|
|
mainProgram = "jget";
|
|
};
|
|
}
|