mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
0215034f25
when they already rely on SRI hashes.
31 lines
672 B
Nix
31 lines
672 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydexcom";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gagebenne";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "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 ];
|
|
};
|
|
}
|