Files
nixpkgs/pkgs/development/python-modules/getjump/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

57 lines
978 B
Nix

{
lib,
beautifulsoup4,
buildPythonPackage,
fetchPypi,
pillow,
hatchling,
pythonOlder,
requests,
rich,
uv-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "getjump";
version = "2.8.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-FfAwPCbj+0wL+Lgk17peco/ogrsaa6Js+Ay5fqgPUPw=";
};
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 = {
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 = lib.licenses.mit;
maintainers = [ ];
mainProgram = "jget";
};
}