mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
e859136e83
Diff: https://github.com/andrewsayre/pyheos/compare/0.7.2...0.7.4 Changelog: https://github.com/andrewsayre/pyheos/releases/tag/0.7.3 https://github.com/andrewsayre/pyheos/releases/tag/0.7.4
44 lines
936 B
Nix
44 lines
936 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyheos";
|
|
version = "0.7.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andrewsayre";
|
|
repo = "pyheos";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-vz81FepXWcCdlY1v7ozp+/l+XpYb91mNmRiLKwjrC4A=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
# accesses network
|
|
"test_connect_timeout"
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyheos" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/andrewsayre/pyheos/releases/tag/${version}";
|
|
description = "Async python library for controlling HEOS devices through the HEOS CLI Protocol";
|
|
homepage = "https://github.com/andrewsayre/pyheos";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|