mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
python312Packages.kaggle: refactor
This commit is contained in:
parent
027037fd72
commit
3ae2dd92a7
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue