Something went wrong. Try again.
lol
Something went wrong. Try again.
924 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, appdirs, buildPythonPackage, distro, fetchFromGitHub, filelock, pytestCheckHook, pytest-mock, requests, setuptools-scm,}:
buildPythonPackage rec { pname = "iterative-telemtry"; version = "0.0.10"; pyproject = true;
src = fetchFromGitHub { owner = "iterative"; repo = "telemetry-python"; tag = version; hash = "sha256-+l9JH9MbN+Pai3MIcKZJObzoPGhQipfMd7T8v4SoSws="; };
build-system = [ setuptools-scm ];
dependencies = [ requests appdirs filelock distro ];
nativeCheckInputs = [ pytestCheckHook pytest-mock ];
pythonImportsCheck = [ "iterative_telemetry" ];
meta = { description = "Common library to send usage telemetry"; homepage = "https://github.com/iterative/iterative-telemetry"; changelog = "https://github.com/iterative/iterative-telemetry/releases/tag/${src.tag}"; license = lib.licenses.asl20; };}