Merge pull request #175536 from fabaff/huum

python310Packages.huum: init at 0.5.0
This commit is contained in:
Fabian Affolter 2022-05-31 09:12:25 +02:00 committed by GitHub
commit d1b515fc09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, poetry-core
, pydantic
, pythonOlder
}:
buildPythonPackage rec {
pname = "huum";
version = "0.5.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ldhAg9zGCEYvya01s6AHzALI4dS+d0R73c62YZyk19M=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
pydantic
];
# Tests are not shipped and source not tagged
# https://github.com/frwickst/pyhuum/issues/2
doCheck = false;
pythonImportsCheck = [
"huum"
];
meta = with lib; {
description = "Library for for Huum saunas";
homepage = "https://github.com/frwickst/pyhuum";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4043,6 +4043,8 @@ in {
hupper = callPackage ../development/python-modules/hupper { };
huum = callPackage ../development/python-modules/huum { };
hvac = callPackage ../development/python-modules/hvac { };
hvplot = callPackage ../development/python-modules/hvplot { };