Merge pull request #146869 from fabaff/ritassist

python3Packages.ritassist: init at 0.9.3
This commit is contained in:
Fabian Affolter 2021-11-22 09:44:01 +01:00 committed by GitHub
commit e7fae3626f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, ciso8601
, fetchPypi
, geopy
, pythonOlder
, requests
, sseclient
}:
buildPythonPackage rec {
pname = "ritassist";
version = "0.9.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "1JCKWb+3mdQYnL250Ml+kFkx6VAlBC7FL6XcQlQ+kC4=";
};
propagatedBuildInputs = [
ciso8601
geopy
requests
sseclient
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"ritassist"
];
meta = with lib; {
description = "Python client to access RitAssist and FleetGO API";
homepage = "https://github.com/depl0y/ritassist-py";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -270,7 +270,7 @@
"fitbit" = ps: with ps; [ aiohttp-cors fitbit ];
"fixer" = ps: with ps; [ fixerio ];
"fjaraskupan" = ps: with ps; [ fjaraskupan ];
"fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist
"fleetgo" = ps: with ps; [ ritassist ];
"flexit" = ps: with ps; [ pymodbus ];
"flic" = ps: with ps; [ pyflic ];
"flick_electric" = ps: with ps; [ pyflick ];

View File

@ -8242,6 +8242,8 @@ in {
rising = callPackage ../development/python-modules/rising { };
ritassist = callPackage ../development/python-modules/ritassist { };
rivet = toPythonModule (pkgs.rivet.override {
python3 = python;
});