Merge pull request #196990 from fabaff/pyprusalink
python310Packages.pyprusalink: init at 1.1.0
This commit is contained in:
commit
301aada7a6
44
pkgs/development/python-modules/pyprusalink/default.nix
Normal file
44
pkgs/development/python-modules/pyprusalink/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyprusalink";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-XRtbb7kceiqi8pioTWStRo0drCtQfy1t62jCMihlIec=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyprusalink"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to communicate with PrusaLink ";
|
||||
homepage = "https://github.com/home-assistant-libs/pyprusalink";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2357,7 +2357,8 @@
|
||||
pillow
|
||||
];
|
||||
"prusalink" = ps: with ps; [
|
||||
]; # missing inputs: pyprusalink
|
||||
pyprusalink
|
||||
];
|
||||
"ps4" = ps: with ps; [
|
||||
]; # missing inputs: pyps4-2ndscreen
|
||||
"pulseaudio_loopback" = ps: with ps; [
|
||||
@ -4054,6 +4055,7 @@
|
||||
"prometheus"
|
||||
"prosegur"
|
||||
"proximity"
|
||||
"prusalink"
|
||||
"pure_energie"
|
||||
"push"
|
||||
"pushbullet"
|
||||
|
@ -8412,6 +8412,8 @@ in {
|
||||
|
||||
pyprosegur = callPackage ../development/python-modules/pyprosegur { };
|
||||
|
||||
pyprusalink = callPackage ../development/python-modules/pyprusalink { };
|
||||
|
||||
pyptlib = callPackage ../development/python-modules/pyptlib { };
|
||||
|
||||
pypubsub = callPackage ../development/python-modules/pypubsub { };
|
||||
|
Loading…
Reference in New Issue
Block a user