Merge pull request #126927 from dotlambda/pyflick-init

python3Packages.pyflick: init at 0.0.2
This commit is contained in:
Fabian Affolter 2021-06-15 16:20:25 +02:00 committed by GitHub
commit 542a1a9782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
, dateutil
}:
buildPythonPackage rec {
pname = "pyflick";
version = "0.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "PyFlick";
inherit version;
sha256 = "705c82d8caedfff19117c8859cc1b4f56e15ab8dbc0d64d63b79d8634007897f";
};
propagatedBuildInputs = [
aiohttp
dateutil
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [
"pyflick"
"pyflick.authentication"
];
meta = with lib; {
description = "Python API For Flick Electric in New Zealand";
homepage = "https://github.com/ZephireNZ/PyFlick";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -266,7 +266,7 @@
"fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist
"flexit" = ps: with ps; [ pymodbus ]; # missing inputs: pyflexit
"flic" = ps: with ps; [ pyflic ];
"flick_electric" = ps: with ps; [ ]; # missing inputs: PyFlick
"flick_electric" = ps: with ps; [ pyflick ];
"flo" = ps: with ps; [ aioflo ];
"flock" = ps: with ps; [ ];
"flume" = ps: with ps; [ pyflume ];

View file

@ -376,6 +376,7 @@ in with py.pkgs; buildPythonApplication rec {
"filter"
"fireservicerota"
"firmata"
"flick_electric"
"flo"
"flume"
"flunearyou"

View file

@ -5206,6 +5206,8 @@ in {
pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { };
pyflick = callPackage ../development/python-modules/pyflick { };
pynndescent = callPackage ../development/python-modules/pynndescent { };
pynobo = callPackage ../development/python-modules/pynobo { };