2020-06-16 21:48:32 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, requests, pytest }:
|
2019-12-14 07:42:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:47:06 +01:00
|
|
|
version = "0.2.1";
|
2019-12-14 07:42:32 +00:00
|
|
|
pname = "etelemetry";
|
2020-06-16 21:48:32 +01:00
|
|
|
disabled = isPy27;
|
2019-12-14 07:42:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:06 +01:00
|
|
|
sha256 = "bfb58f58e98f63eae20caffb8514fb68c572332aa6e773cf3fcbde9b408d88e7";
|
2019-12-14 07:42:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# all 2 of the tests both try to pull down from a url
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"etelemetry"
|
|
|
|
"etelemetry.client"
|
|
|
|
"etelemetry.config"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight python client to communicate with the etelemetry server";
|
|
|
|
homepage = "https://github.com/mgxd/etelemetry-client";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|