python3Packages.pyflick: init at 0.0.2

This commit is contained in:
Robert Schütz 2021-06-15 12:28:58 +02:00
parent 04a1a91857
commit f83dd6ab01
2 changed files with 42 additions and 0 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

@ -5199,6 +5199,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 { };