blob: a3b9008fc1caa3487a03dd9373a6a8a73b1f55b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, ci-info
, ci-py
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "etelemetry";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sensein";
repo = "etelemetry-client";
rev = "refs/tags/v${version}";
hash = "sha256-UaE5JQhv2AtzXKY7YD2/g6Kj1igKhmnY3zlf1P9B/iQ=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
ci-info
ci-py
requests
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"etelemetry"
"etelemetry.client"
"etelemetry.config"
];
meta = with lib; {
description = "Lightweight python client to communicate with the etelemetry server";
homepage = "https://github.com/sensein/etelemetry-client";
changelog = "https://github.com/sensein/etelemetry-client/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|