python3Packages.pysensibo: init at 1.0.12
This commit is contained in:
parent
458a8fee0d
commit
d212442969
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/pysensibo/default.nix
Normal file
39
pkgs/development/python-modules/pysensibo/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysensibo";
|
||||
version = "1.0.12";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrey-git";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-gXdyVEBcYCUOo8PHzsJLkjtnX1B1iRS/DAxdQDU3HaY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# no tests implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pysensibo"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with Sensibo";
|
||||
homepage = "https://github.com/andrey-git/pysensibo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7745,6 +7745,8 @@ in {
|
|||
|
||||
pysendfile = callPackage ../development/python-modules/pysendfile { };
|
||||
|
||||
pysensibo = callPackage ../development/python-modules/pysensibo { };
|
||||
|
||||
pysensors = callPackage ../development/python-modules/pysensors { };
|
||||
|
||||
pyserial-asyncio = callPackage ../development/python-modules/pyserial-asyncio { };
|
||||
|
|
Loading…
Reference in a new issue