mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-31 18:15:54 +00:00
f04d9cccc7
Diff: https://github.com/frwickst/pyhuum/compare/refs/tags/0.7.11...0.7.12 Changelog: https://github.com/frwickst/pyhuum/releases/tag/0.7.12
49 lines
934 B
Nix
49 lines
934 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mashumaro,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "huum";
|
|
version = "0.7.12";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frwickst";
|
|
repo = "pyhuum";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-IyPsRtVaxsI9Y0BpzKCSsc2oAqdGQI92UqxaRGpGmak=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|