mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python312Packages.kaggle: refactor
This commit is contained in:
parent
027037fd72
commit
3ae2dd92a7
1 changed files with 17 additions and 5 deletions
|
@ -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