mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
56 lines
998 B
Nix
56 lines
998 B
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
pathvalidate,
|
|
pillow,
|
|
requests,
|
|
rich,
|
|
uv-dynamic-versioning,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "getjump";
|
|
version = "2.10.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-ui9H4gVpo90UQ/sm2h58um0ZFcXrDPe6kaw4S91rAhw=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"pillow"
|
|
"rich"
|
|
];
|
|
|
|
build-system = [
|
|
hatchling
|
|
uv-dynamic-versioning
|
|
];
|
|
|
|
dependencies = [
|
|
beautifulsoup4
|
|
pathvalidate
|
|
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${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
mainProgram = "jget";
|
|
};
|
|
})
|