Diff: https://github.com/LouisChrist/pyblu/compare/refs/tags/v2.0.0...refs/tags/v2.0.1 Changelog: https://github.com/LouisChrist/pyblu/releases/tag/v2.0.1
50 lines
916 B
Nix
50 lines
916 B
Nix
{
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
lxml,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyblu";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LouisChrist";
|
|
repo = "pyblu";
|
|
tag = "v${version}";
|
|
hash = "sha256-4dWRz7KPLgjN57U/jsm6VCqzkzfMY5yuHL0ZSBeALyI=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "aiohttp" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
lxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyblu" ];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/LouisChrist/pyblu/releases/tag/v${version}";
|
|
description = "BluOS API client";
|
|
homepage = "https://github.com/LouisChrist/pyblu";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|