mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
python3Packages.pytradfri: init at 7.0.6
This commit is contained in:
parent
0706d3da4e
commit
06024b15f7
40
pkgs/development/python-modules/pytradfri/default.nix
Normal file
40
pkgs/development/python-modules/pytradfri/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, aiocoap
|
||||
, dtlssocket
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytradfri";
|
||||
version = "7.0.6";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "pytradfri";
|
||||
rev = version;
|
||||
sha256 = "0ckh2waz3xpz51pmigg1q336igqvvkl2pzncszvblkwv38a0rj3a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiocoap
|
||||
dtlssocket
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytradfri" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package to communicate with the IKEA Trådfri ZigBee Gateway";
|
||||
homepage = "https://github.com/home-assistant-libs/pytradfri";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -7130,6 +7130,8 @@ in {
|
||||
cudaSupport = false;
|
||||
};
|
||||
|
||||
pytradfri = callPackage ../development/python-modules/pytradfri { };
|
||||
|
||||
pytrafikverket = callPackage ../development/python-modules/pytrafikverket { };
|
||||
|
||||
pytrends = callPackage ../development/python-modules/pytrends { };
|
||||
|
Loading…
Reference in New Issue
Block a user