Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
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 ];
|
|
};
|
|
}
|