python312Packages.kaggle: refactor

This commit is contained in:
natsukium 2024-07-29 09:48:58 +09:00
parent 027037fd72
commit 3ae2dd92a7
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -1,37 +1,49 @@
{
buildPythonPackage,
bleach,
buildPythonPackage,
certifi,
charset-normalizer,
fetchPypi,
hatchling,
idna,
lib,
python-dateutil,
python-slugify,
six,
requests,
setuptools,
six,
text-unidecode,
tqdm,
urllib3,
webencodings,
}:
buildPythonPackage rec {
pname = "kaggle";
version = "1.6.17";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Q5p96h1QOfMg/WrV7CG2iNz6cNQFy0IJW4H0HtxAG4E=";
};
propagatedBuildInputs = [
build-system = [ hatchling ];
dependencies = [
bleach
certifi
charset-normalizer
idna
python-dateutil
python-slugify
requests
setuptools
six
text-unidecode
tqdm
urllib3
bleach
webencodings
];
# Tests try to access the network.