nixpkgs/pkgs/development/python-modules/aioacaia/default.nix

41 lines
843 B
Nix

{
lib,
bleak,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aioacaia";
version = "0.1.11";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "zweckj";
repo = "aioacaia";
rev = "refs/tags/v${version}";
hash = "sha256-9lRF3NrJ/Zl7ZOihiUiflxCjUi9WHjovgbpFebJJl9M=";
};
build-system = [ setuptools ];
dependencies = [ bleak ];
# Module only has a homebrew tests
doCheck = false;
pythonImportsCheck = [ "aioacaia" ];
meta = {
description = "Async implementation of pyacaia";
homepage = "https://github.com/zweckj/aioacaia";
changelog = "https://github.com/zweckj/aioacaia/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}