mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-15 08:56:33 +01:00
Diff: https://github.com/lmaertin/python-pooldose/compare/0.7.8...0.8.0 Changelog: https://github.com/lmaertin/python-pooldose/blob/0.8.0/CHANGELOG.md
51 lines
1,011 B
Nix
51 lines
1,011 B
Nix
{
|
|
aiofiles,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
getmac,
|
|
lib,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-pooldose";
|
|
version = "0.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lmaertin";
|
|
repo = "python-pooldose";
|
|
tag = version;
|
|
hash = "sha256-zOl+c/bJmCH3ZUKcZDbRhnfctiQoq6z+C6LGHN6Jrhc=";
|
|
};
|
|
|
|
postPatch = ''
|
|
rm -r src/pooldose/values/__pycache__
|
|
'';
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
getmac
|
|
];
|
|
|
|
pythonImportsCheck = [ "pooldose" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/lmaertin/python-pooldose/blob/${src.tag}/CHANGELOG.md";
|
|
description = "Unoffical async Python client for SEKO PoolDose devices";
|
|
homepage = "https://github.com/lmaertin/python-pooldose";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|