Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 67 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ bleach, buildPythonPackage, certifi, charset-normalizer, fetchPypi, hatchling, idna, lib, python-dateutil, python-slugify, requests, setuptools, six, text-unidecode, tqdm, urllib3, webencodings, protobuf,}:
buildPythonPackage rec { pname = "kaggle"; version = "1.7.4.5"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-HZghvWpqFHB0HHbSZJWhhHW1p7/gyAsZGRJUsnNdQd0="; };
build-system = [ hatchling ];
dependencies = [ bleach certifi charset-normalizer idna python-dateutil python-slugify requests setuptools six text-unidecode tqdm urllib3 webencodings protobuf ];
# Tests try to access the network. checkPhase = '' export HOME="$TMP" mkdir -p "$HOME/.kaggle/" echo '{"username":"foobar","key":"00000000000000000000000000000000"}' > "$HOME/.kaggle/kaggle.json" $out/bin/kaggle --help > /dev/null ''; pythonImportsCheck = [ "kaggle" ];
meta = with lib; { description = "Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3"; mainProgram = "kaggle"; homepage = "https://github.com/Kaggle/kaggle-api"; license = licenses.asl20; maintainers = with maintainers; [ mbalatsko ]; };}