Merge pull request #168957 from fabaff/python-family-hub-local

python3Packages.python-family-hub-local: init at 0.0.2
This commit is contained in:
Martin Weinelt 2022-04-16 21:49:51 +02:00 committed by GitHub
commit 1283cd35c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, aiohttp
, async-timeout
, pillow
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-family-hub-local";
version = "0.0.2";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-bbOBlUJ4g+HOcJihEBAz3lsHR9Gn07z8st14FRFeJbc=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pillow
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pyfamilyhublocal"
];
meta = with lib; {
description = "Module to accesse information from Samsung FamilyHub fridges locally";
homepage = "https://github.com/Klathmon/python-family-hub-local";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -774,7 +774,8 @@
"fail2ban" = ps: with ps; [
];
"familyhub" = ps: with ps; [
]; # missing inputs: python-family-hub-local
python-family-hub-local
];
"fan" = ps: with ps; [
];
"fastdotcom" = ps: with ps; [

View file

@ -8138,6 +8138,8 @@ in {
python-editor = callPackage ../development/python-modules/python-editor { };
python-family-hub-local = callPackage ../development/python-modules/python-family-hub-local { };
python-fsutil = callPackage ../development/python-modules/python-fsutil { };
pythonefl = callPackage ../development/python-modules/python-efl { };