depot/third_party/nixpkgs/pkgs/development/python-modules/getjump/default.nix

44 lines
764 B
Nix
Raw Normal View History

{
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";
};
}