depot/third_party/nixpkgs/pkgs/development/python-modules/pydexcom/default.nix
Default email 893b09d324 Project import generated by Copybara.
GitOrigin-RevId: eac07edbd20ed4908b98790ba299250b5527ecdf
2021-12-24 12:21:11 +08:00

30 lines
674 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pydexcom";
version = "0.2.2";
src = fetchFromGitHub {
owner = "gagebenne";
repo = pname;
rev = version;
sha256 = "sha256-8PE+MFQkuwYey82jNSRjMaK8kAhYSBbjqnsbGJHGW9I=";
};
propagatedBuildInputs = [ requests ];
# tests are interacting with the Dexcom API
doCheck = false;
pythonImportsCheck = [ "pydexcom" ];
meta = with lib; {
description = "Python API to interact with Dexcom Share service";
homepage = "https://github.com/gagebenne/pydexcom";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}