Merge pull request #109298 from fabaff/poolsense

This commit is contained in:
Sandro 2021-01-14 07:34:58 +01:00 committed by GitHub
commit 942f96ac55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "poolsense";
version = "0.0.8";
src = fetchPypi {
inherit pname version;
sha256 = "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "poolsense" ];
meta = with lib; {
description = "Python module to access PoolSense device";
homepage = "https://github.com/haemishkyd/poolsense";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -625,7 +625,7 @@
"plum_lightpad" = ps: with ps; [ ]; # missing inputs: plumlightpad
"pocketcasts" = ps: with ps; [ ]; # missing inputs: pycketcasts
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
"poolsense" = ps: with ps; [ ]; # missing inputs: poolsense
"poolsense" = ps: with ps; [ poolsense ];
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
"profiler" = ps: with ps; [ objgraph pyprof2calltree ]; # missing inputs: guppy3
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw

View File

@ -4868,6 +4868,8 @@ in {
pooch = callPackage ../development/python-modules/pooch { };
poolsense = callPackage ../development/python-modules/poolsense { };
poppler-qt5 = callPackage ../development/python-modules/poppler-qt5 {
inherit (pkgs.qt5) qtbase;
inherit (pkgs.libsForQt5) poppler;