depot/third_party/nixpkgs/pkgs/development/python-modules/aiolyric/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

53 lines
1 KiB
Nix

{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
incremental,
pythonOlder,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aiolyric";
version = "2.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "timmo001";
repo = "aiolyric";
rev = "refs/tags/${version}";
hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
incremental
];
nativeCheckInputs = [
aioresponses
pytestCheckHook
];
disabledTests = [
# AssertionError, https://github.com/timmo001/aiolyric/issues/61
"test_priority"
];
pythonImportsCheck = [ "aiolyric" ];
meta = with lib; {
description = "Python module for the Honeywell Lyric Platform";
homepage = "https://github.com/timmo001/aiolyric";
changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}