mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
569edaf213
Diff: https://github.com/Noltari/aioairzone/compare/refs/tags/0.5.1...0.5.2 Changelog: https://github.com/Noltari/aioairzone/releases/tag/0.5.2
42 lines
819 B
Nix
42 lines
819 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioairzone";
|
|
version = "0.5.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Noltari";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-x4OtYUJjRDSDd0FzlbMf7syjUIVxKsqgEfRWS1wgvPo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aioairzone"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module to control AirZone devices";
|
|
homepage = "https://github.com/Noltari/aioairzone";
|
|
changelog = "https://github.com/Noltari/aioairzone/releases/tag/${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|
|
|