nixpkgs/pkgs/development/python-modules/pyyardian/default.nix
2026-05-26 11:37:12 +02:00

38 lines
852 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage (finalAttrs: {
pname = "pyyardian";
version = "1.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "h3l1o5";
repo = "pyyardian";
tag = finalAttrs.version;
hash = "sha256-LOHE8vGrT25sgjhcNarMOi0hzpPpHjVIeVq7CezYicY=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pyyardian" ];
meta = {
description = "Module for interacting with the Yardian irrigation controller";
homepage = "https://github.com/h3l1o5/pyyardian";
changelog = "https://github.com/aeon-matrix/pyyardian/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})