Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies protobuf, requests,}:
buildPythonPackage (finalAttrs: { pname = "kagglesdk"; version = "0.1.37"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "Kaggle"; repo = "kagglesdk"; tag = "v${finalAttrs.version}"; hash = "sha256-R88x9jlvY2UIksiDjgQJHvb+dpkda1GPYwEh9KWkZi4="; };
build-system = [ hatchling ];
dependencies = [ protobuf requests ];
pythonImportsCheck = [ "kagglesdk" ];
# The two available tests fail with: # AssertionError: 'https://api.kaggle.com' != 'https://www.kaggle.com' doCheck = false;
meta = { description = "Bindings to access Kaggle endpoints"; homepage = "https://github.com/Kaggle/kagglesdk"; changelog = "https://github.com/Kaggle/kagglesdk/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };})