Merge staging-next into staging
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, black, isort
|
||||
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect }:
|
||||
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect, dataclasses }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libcst";
|
||||
@@ -16,7 +16,8 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
propagatedBuildInputs = [ pyyaml typing-inspect ];
|
||||
propagatedBuildInputs = [ pyyaml typing-inspect ]
|
||||
++ lib.optional (pythonOlder "3.7") dataclasses;
|
||||
|
||||
checkInputs = [ black isort pytestCheckHook ];
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydexcom";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gagebenne";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "19h7r0qbsqd6k6g4nz6z3k9kdmk0sx5zpsrgxwnhsff5fqi0y2ls";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user