Merge pull request #177412 from fabaff/ultraheat-api

python310Packages.ultraheat-api: init at 0.4.0

authored by

Fabian Affolter and committed by
GitHub
ff3d295d 07b47eee

+40
+38
pkgs/development/python-modules/ultraheat-api/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pyserial 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "ultraheat-api"; 10 + version = "0.4.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + pname = "ultraheat_api"; 17 + inherit version; 18 + hash = "sha256-J0mQolWdXatIG/ORTBNyo6HrAfydvYqXK7LxInQWcX0="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + pyserial 23 + ]; 24 + 25 + # Source is not tagged, only PyPI releases 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ 29 + "ultraheat_api" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "Module for working with data from Landis+Gyr Ultraheat heat meter unit"; 34 + homepage = "https://github.com/vpathuis/uh50"; 35 + license = licenses.mit; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+2
pkgs/top-level/python-packages.nix
··· 10814 10814 10815 10815 ukrainealarm = callPackage ../development/python-modules/ukrainealarm { }; 10816 10816 10817 + ultraheat-api = callPackage ../development/python-modules/ultraheat-api { }; 10818 + 10817 10819 umalqurra = callPackage ../development/python-modules/umalqurra { }; 10818 10820 10819 10821 umap-learn = callPackage ../development/python-modules/umap-learn { };