1{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
2
3buildPythonPackage rec {
4 version = "0.1.2";
5 pname = "etelemetry";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0m3dqvs3xbckmjiwppy366qmgzx0z917j1d7dadfl3bprgipy51j";
10 };
11
12 propagatedBuildInputs = [ requests ];
13
14 # all 2 of the tests both try to pull down from a url
15 doCheck = false;
16
17 pythonImportsCheck = [
18 "etelemetry"
19 "etelemetry.client"
20 "etelemetry.config"
21 ];
22
23 meta = with lib; {
24 description = "Lightweight python client to communicate with the etelemetry server";
25 homepage = "https://github.com/mgxd/etelemetry-client";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ ];
28 };
29}