Merge pull request #327176 from pyrox0/pythonpackages/pyaprilaire-init
python3Packages.pyaprilaire: init at 0.7.4
This commit is contained in:
commit
c74ffd40a8
41
pkgs/development/python-modules/pyaprilaire/default.nix
Normal file
41
pkgs/development/python-modules/pyaprilaire/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
crc,
|
||||
setuptools,
|
||||
pytest-asyncio,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyaprilaire";
|
||||
version = "0.7.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chamberlain2007";
|
||||
repo = "pyaprilaire";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+/yQO0JF2nkxaM71iNj6ODB8raM9s4qiLLi6/borcr4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ crc ];
|
||||
|
||||
pythonImportsCheck = [ "pyaprilaire" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${version}";
|
||||
description = "Python library for interacting with Aprilaire thermostats.";
|
||||
homepage = "https://github.com/chamberlain2007/pyaprilaire";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ pyrox0 ];
|
||||
};
|
||||
}
|
@ -209,7 +209,8 @@
|
||||
apprise
|
||||
];
|
||||
"aprilaire" = ps: with ps; [
|
||||
]; # missing inputs: pyaprilaire
|
||||
pyaprilaire
|
||||
];
|
||||
"aprs" = ps: with ps; [
|
||||
aprslib
|
||||
geopy
|
||||
@ -5266,6 +5267,7 @@
|
||||
"apple_tv"
|
||||
"application_credentials"
|
||||
"apprise"
|
||||
"aprilaire"
|
||||
"aprs"
|
||||
"aranet"
|
||||
"arcam_fmj"
|
||||
|
@ -9928,6 +9928,8 @@ self: super: with self; {
|
||||
|
||||
psrpcore = callPackage ../development/python-modules/psrpcore { };
|
||||
|
||||
pyaprilaire = callPackage ../development/python-modules/pyaprilaire { };
|
||||
|
||||
pybars3 = callPackage ../development/python-modules/pybars3 { };
|
||||
|
||||
pymeta3 = callPackage ../development/python-modules/pymeta3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user