Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies protobuf, requests,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "kagglesdk"; version = "0.1.19"; pyproject = true;
src = fetchFromGitHub { owner = "Kaggle"; repo = "kagglesdk"; tag = "v${finalAttrs.version}"; hash = "sha256-AfR4MlVev8KuhHKD71A87BmT0lXpNipnpRlvgaGcAos="; };
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 ]; };})