Merge pull request #126927 from dotlambda/pyflick-init
python3Packages.pyflick: init at 0.0.2
This commit is contained in:
commit
542a1a9782
40
pkgs/development/python-modules/pyflick/default.nix
Normal file
40
pkgs/development/python-modules/pyflick/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -376,6 +376,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"filter"
|
||||
"fireservicerota"
|
||||
"firmata"
|
||||
"flick_electric"
|
||||
"flo"
|
||||
"flume"
|
||||
"flunearyou"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue