Files
nixpkgs/pkgs/development/python-modules/jobspy/default.nix
T
Ethan Carter Edwards c97166492f python3Packages.jobspy: fix build
ZHF: https://hydra.nixos.org/build/309098765
Checking runtime dependencies for python_jobspy-1.1.79-py3-none-any.whl
  - regex<2025.0.0,>=2024.4.28 not satisfied by version 2025.7.34

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-10-16 16:34:20 -04:00

60 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
numpy,
pandas,
pydantic,
regex,
requests,
markdownify,
tls-client,
beautifulsoup4,
}:
buildPythonPackage rec {
pname = "jobspy";
version = "1.1.79";
pyproject = true;
src = fetchFromGitHub {
owner = "Bunsly";
repo = "JobSpy";
tag = "v${version}";
hash = "sha256-09UVZUcBNyKLSbqHOctct7dRJhmRdS6wb5hjMI3YWdg=";
};
pythonRelaxDeps = [
"numpy"
"markdownify"
"regex"
];
build-system = [ poetry-core ];
dependencies = [
numpy
pandas
pydantic
regex
requests
markdownify
tls-client
beautifulsoup4
];
pythonImportsCheck = [ "jobspy" ];
# no package tests because they all require networking/polling
meta = {
description = "Jobs scraper library for job sites";
downloadPage = "https://github.com/Bunsly/JobSpy";
homepage = "https://github.com/Bunsly/JobSpy";
changelog = "https://github.com/Bunsly/JobSpy/releases/tag/${src.tag}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}