Merge pull request #288329 from fabaff/linear-garage-door
python311Packages.linear-garage-door: init at 0.2.9
This commit is contained in:
commit
86ef6bd96b
3 changed files with 60 additions and 1 deletions
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, dnspython
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, tenacity
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "linear-garage-door";
|
||||
version = "0.2.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IceBotYT";
|
||||
repo = "linear-garage-door";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-hWWJgZnEItYaSxka7zBHPeVlTEiOqRnA2vg6/MvpJGE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i pyproject.toml \
|
||||
-e "/--cov/d" \
|
||||
-e "/--no-cov/d"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
dnspython
|
||||
tenacity
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"linear_garage_door"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Control Linear Garage Doors with Python";
|
||||
homepage = "https://github.com/IceBotYT/linear-garage-door";
|
||||
changelog = "https://github.com/IceBotYT/linear-garage-door/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2732,7 +2732,8 @@
|
|||
limitlessled
|
||||
];
|
||||
"linear_garage_door" = ps: with ps; [
|
||||
]; # missing inputs: linear-garage-door
|
||||
linear-garage-door
|
||||
];
|
||||
"linksys_smart" = ps: with ps; [
|
||||
];
|
||||
"linode" = ps: with ps; [
|
||||
|
@ -6188,6 +6189,7 @@
|
|||
"life360"
|
||||
"lifx"
|
||||
"light"
|
||||
"linear_garage_door"
|
||||
"litterrobot"
|
||||
"livisi"
|
||||
"local_calendar"
|
||||
|
|
|
@ -6588,6 +6588,8 @@ self: super: with self; {
|
|||
|
||||
limnoria = callPackage ../development/python-modules/limnoria { };
|
||||
|
||||
linear-garage-door = callPackage ../development/python-modules/linear-garage-door { };
|
||||
|
||||
linear-operator = callPackage ../development/python-modules/linear-operator { };
|
||||
|
||||
linecache2 = callPackage ../development/python-modules/linecache2 { };
|
||||
|
|
Loading…
Reference in a new issue