python3Packages.ultraheat-api: 0.5.7 -> 0.6.0
https://github.com/vpathuis/ultraheat/releases/tag/v0.6.0
This commit is contained in:
@@ -1,32 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pyserial,
|
||||
fetchFromGitHub,
|
||||
serialx,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ultraheat-api";
|
||||
version = "0.5.7";
|
||||
format = "setuptools";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ultraheat_api";
|
||||
inherit version;
|
||||
hash = "sha256-rRQTjV9hyUawMaXBgUx/d6pQjM8ffjcFJE2x08Cf4Gw=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vpathuis";
|
||||
repo = "ultraheat";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Mw2BEm98FqD/bggABJu8jftwyMEik0+xtKHONoFVxhw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# Source is not tagged, only PyPI releases
|
||||
doCheck = false;
|
||||
dependencies = [ serialx ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ultraheat_api" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/vpathuis/ultraheat/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Module for working with data from Landis+Gyr Ultraheat heat meter unit";
|
||||
homepage = "https://github.com/vpathuis/uh50";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user