1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "pydexcom"; 9 version = "0.2.3"; 10 11 src = fetchFromGitHub { 12 owner = "gagebenne"; 13 repo = pname; 14 rev = version; 15 sha256 = "sha256-ItDGnUUUTwCz4ZJtFVlMYjjoBPn2h8QZgLzgnV2T/Qk="; 16 }; 17 18 propagatedBuildInputs = [ requests ]; 19 20 # tests are interacting with the Dexcom API 21 doCheck = false; 22 pythonImportsCheck = [ "pydexcom" ]; 23 24 meta = with lib; { 25 description = "Python API to interact with Dexcom Share service"; 26 homepage = "https://github.com/gagebenne/pydexcom"; 27 license = with licenses; [ mit ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}