depot/third_party/nixpkgs/pkgs/development/python-modules/getjump/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
785 B
Nix

{ lib
, beautifulsoup4
, buildPythonPackage
, fetchPypi
, pillow
, poetry-core
, requests
, rich
}:
buildPythonPackage rec {
pname = "getjump";
version = "2.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-rNMhyUqrliKf6CPhZfyUwN00D4TgOWjPCoqihOB0PDE=";
};
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";
};
}