Files
2026-07-15 14:04:39 -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.82";
pyproject = true;
src = fetchFromGitHub {
owner = "Bunsly";
repo = "JobSpy";
tag = version;
hash = "sha256-iLtUIM7QBIl6UAcb1RvKt2uw5gHEIQXuo4z/OQu86wM=";
};
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}