Merge pull request #213174 from fabaff/huum-bump

python3Packages.huum: 0.6.0 -> 0.7.1
This commit is contained in:
Fabian Affolter 2023-01-28 19:22:54 +01:00 committed by GitHub
commit 2f10f71df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,26 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, poetry-core
, pydantic
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "huum";
version = "0.6.0";
version = "0.7.1";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PYOjfLPa/vZZP0IZuUZnQ74IrTRvizgYhKOmhd83aMQ=";
src = fetchFromGitHub {
owner = "frwickst";
repo = "pyhuum";
rev = "refs/tags/${version}";
hash = "sha256-vYHwcEOzxYEBav5YbmWpm+izFlivzu2UIR6hmAXXi0U=";
};
nativeBuildInputs = [
@ -28,17 +32,19 @@ buildPythonPackage rec {
pydantic
];
# Tests are not shipped and source not tagged
# https://github.com/frwickst/pyhuum/issues/2
doCheck = false;
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"huum"
];
meta = with lib; {
description = "Library for for Huum saunas";
description = "Library for Huum saunas";
homepage = "https://github.com/frwickst/pyhuum";
changelog = "https://github.com/frwickst/pyhuum/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};