Diff: https://github.com/jpelgrom/python-letpot/compare/v0.6.1...v0.6.2 Changelog: https://github.com/jpelgrom/python-letpot/releases/tag/v0.6.2
46 lines
909 B
Nix
46 lines
909 B
Nix
{
|
|
aiohttp,
|
|
aiomqtt,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "letpot";
|
|
version = "0.6.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jpelgrom";
|
|
repo = "python-letpot";
|
|
tag = "v${version}";
|
|
hash = "sha256-aSnh1tCHAa5nLWkt0vmEXE0Dow6A5Zb6AkbTX15F6A0=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
aiomqtt
|
|
];
|
|
|
|
pythonImportsCheck = [ "letpot" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jpelgrom/python-letpot/releases/tag/${src.tag}";
|
|
description = "Asynchronous Python client for LetPot hydroponic gardens";
|
|
homepage = "https://github.com/jpelgrom/python-letpot";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|