mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
44 lines
764 B
Nix
44 lines
764 B
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pillow,
|
|
poetry-core,
|
|
requests,
|
|
rich,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "getjump";
|
|
version = "2.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WuAsTfOe38i90jWqOpIBYbizmb9gLtXD+ttZ1WAFDes=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|