python3Packages.freebox-api: init at 0.0.9

This commit is contained in:
Fabian Affolter 2021-02-19 19:06:55 +01:00
parent 8b166bcee0
commit b5ca64d381
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, poetry
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "freebox-api";
version = "0.0.9";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "hacf-fr";
repo = pname;
rev = "v${version}";
sha256 = "0qn7jqfbp850aqgfsxjfv14myi6idz6sf7024p6wpqpa2xk0vfiq";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ aiohttp ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "freebox_api" ];
meta = with lib; {
description = "Python module to interact with the Freebox OS API";
homepage = "https://github.com/hacf-fr/freebox-api";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2438,6 +2438,8 @@ in {
fpylll = callPackage ../development/python-modules/fpylll { };
freebox-api = callPackage ../development/python-modules/freebox-api { };
freetype-py = callPackage ../development/python-modules/freetype-py { };
freezegun = if isPy27 then