stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / iterative-telemetry / default.nix
blob18f1a865dbf37edf0bd684e08b3b3abc408babc8
2   lib,
3   appdirs,
4   buildPythonPackage,
5   distro,
6   fetchFromGitHub,
7   filelock,
8   pytestCheckHook,
9   pytest-mock,
10   pythonOlder,
11   requests,
12   setuptools-scm,
15 buildPythonPackage rec {
16   pname = "iterative-telemtry";
17   version = "0.0.9";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "iterative";
24     repo = "telemetry-python";
25     tag = version;
26     hash = "sha256-bcGniytjlN3JFPeMQYjyIP8Ruty9/dnzp9neclbdsfU=";
27   };
29   build-system = [ setuptools-scm ];
31   dependencies = [
32     requests
33     appdirs
34     filelock
35     distro
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     pytest-mock
41   ];
43   pythonImportsCheck = [ "iterative_telemetry" ];
45   meta = with lib; {
46     description = "Common library to send usage telemetry";
47     homepage = "https://github.com/iterative/iterative-telemetry";
48     changelog = "https://github.com/iterative/iterative-telemetry/releases/tag/${version}";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ melling ];
51   };