Files
nixpkgs/pkgs/development/python-modules/getjump/default.nix

57 lines
984 B
Nix

{
lib,
beautifulsoup4,
buildPythonPackage,
fetchPypi,
pillow,
hatchling,
pythonOlder,
requests,
rich,
uv-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "getjump";
version = "2.7.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-B0d8a5IcU545zzw+7UzDtm3ACv2hDI4MBOHRPCi1MNQ=";
};
pythonRelaxDeps = [
"pillow"
"rich"
];
build-system = [
hatchling
uv-dynamic-versioning
];
dependencies = [
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";
changelog = "https://github.com/eggplants/getjump/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
mainProgram = "jget";
};
}