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