python3Packages.pymysensors: init at 0.20.1
This commit is contained in:
parent
53b2a693f7
commit
99a074aa71
55
pkgs/development/python-modules/pymysensors/default.nix
Normal file
55
pkgs/development/python-modules/pymysensors/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, crcmod
|
||||
, fetchFromGitHub
|
||||
, getmac
|
||||
, intelhex
|
||||
, paho-mqtt
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytest-sugar
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymysensors";
|
||||
version = "0.20.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theolind";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1hz3551ydsmd23havd0dljmvkhzjnmd28k41ws60s8ms3gzlzqfy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
crcmod
|
||||
getmac
|
||||
intelhex
|
||||
paho-mqtt
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-sugar
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mysensors" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for talking to a MySensors gateway";
|
||||
homepage = "https://github.com/theolind/pymysensors";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5718,6 +5718,8 @@ in {
|
||||
|
||||
pymyq = callPackage ../development/python-modules/pymyq { };
|
||||
|
||||
pymysensors = callPackage ../development/python-modules/pymysensors { };
|
||||
|
||||
pymysql = callPackage ../development/python-modules/pymysql { };
|
||||
|
||||
pymysqlsa = callPackage ../development/python-modules/pymysqlsa { };
|
||||
|
Loading…
Reference in New Issue
Block a user