mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #146869 from fabaff/ritassist
python3Packages.ritassist: init at 0.9.3
This commit is contained in:
commit
e7fae3626f
43
pkgs/development/python-modules/ritassist/default.nix
Normal file
43
pkgs/development/python-modules/ritassist/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -8242,6 +8242,8 @@ in {
|
||||
|
||||
rising = callPackage ../development/python-modules/rising { };
|
||||
|
||||
ritassist = callPackage ../development/python-modules/ritassist { };
|
||||
|
||||
rivet = toPythonModule (pkgs.rivet.override {
|
||||
python3 = python;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user