depot/third_party/nixpkgs/pkgs/development/python-modules/garminconnect-aio/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

37 lines
743 B
Nix

{ lib
, aiohttp
, brotlipy
, buildPythonPackage
, fetchFromGitHub
, yarl
}:
buildPythonPackage rec {
pname = "garminconnect-aio";
version = "0.1.4";
src = fetchFromGitHub {
owner = "cyberjunky";
repo = "python-garminconnect-aio";
rev = version;
sha256 = "0s2gpy5hciv9akqqhxy0d2ywp6jp9mmdngx34q7fq3xn668kcrhr";
};
propagatedBuildInputs = [
aiohttp
brotlipy
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "garminconnect_aio" ];
meta = with lib; {
description = "Python module to interact with Garmin Connect";
homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}