My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pydexcom/default.nix

30 lines
674 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pydexcom";
version = "0.2.3";
src = fetchFromGitHub {
owner = "gagebenne";
repo = pname;
rev = version;
sha256 = "sha256-ItDGnUUUTwCz4ZJtFVlMYjjoBPn2h8QZgLzgnV2T/Qk=";
};
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 ];
};
}