ecc5126fd0
Diff: https://github.com/keithle888/igloohome-api/compare/refs/tags/v0.1.0...refs/tags/v0.1.1 Changelog: https://github.com/keithle888/igloohome-api/releases/tag/v0.1.1
44 lines
866 B
Nix
44 lines
866 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
dacite,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
pyjwt,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "igloohome-api";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "keithle888";
|
|
repo = "igloohome-api";
|
|
tag = "v${version}";
|
|
hash = "sha256-BLmmypbvYTgQisT0+9Ym1ZTK6asAP2tWXP2DWhKYM7U=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
dacite
|
|
pyjwt
|
|
];
|
|
|
|
pythonImportsCheck = [ "igloohome_api" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/keithle888/igloohome-api/releases/tag/${src.tag}";
|
|
description = "Python package for using igloohome's API";
|
|
homepage = "https://github.com/keithle888/igloohome-api";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|