mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #170114 from fabaff/bump-pysensibo
python3Packages.pysensibo: init at 1.0.12
This commit is contained in:
commit
36aa108da8
3 changed files with 44 additions and 1 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 ];
|
||||
};
|
||||
}
|
|
@ -2292,7 +2292,8 @@
|
|||
aiosenseme
|
||||
];
|
||||
"sensibo" = ps: with ps; [
|
||||
]; # missing inputs: pysensibo
|
||||
pysensibo
|
||||
];
|
||||
"sensor" = ps: with ps; [
|
||||
fnvhash
|
||||
lru-dict
|
||||
|
@ -3569,6 +3570,7 @@
|
|||
"select"
|
||||
"sense"
|
||||
"senseme"
|
||||
"sensibo"
|
||||
"sensor"
|
||||
"sentry"
|
||||
"seventeentrack"
|
||||
|
|
|
@ -7747,6 +7747,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