c3c774f739
Diff: https://github.com/frwickst/pyhuum/compare/refs/tags/0.7.9...0.7.10 Changelog: https://github.com/frwickst/pyhuum/releases/tag/0.7.10
51 lines
935 B
Nix
51 lines
935 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, mashumaro
|
|
, poetry-core
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "huum";
|
|
version = "0.7.10";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frwickst";
|
|
repo = "pyhuum";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-INW6d/Zc5UZZOgN6wW+Xbm/wH1K/V6bviu3mID1R+BY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
mashumaro
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"huum"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|