diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-04-16 21:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 21:49:51 +0200 |
commit | 1283cd35c5fee53c7948a61900af78c7518af606 (patch) | |
tree | 184fb655dec7263a63fd549da613cd38d5bc9b32 /pkgs/development | |
parent | 8cbca57b9bc3f8f6ab5412ffe40992e58f3e5966 (diff) | |
parent | 98ca6c1fbd51de674a78cec6e091bd5c262f0216 (diff) |
Merge pull request #168957 from fabaff/python-family-hub-local
python3Packages.python-family-hub-local: init at 0.0.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/python-family-hub-local/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-family-hub-local/default.nix b/pkgs/development/python-modules/python-family-hub-local/default.nix new file mode 100644 index 0000000000000..01d9da8423ddd --- /dev/null +++ b/pkgs/development/python-modules/python-family-hub-local/default.nix @@ -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 ]; + }; +} |