forked from mirrors/nixpkgs
python3Packages.pydaikin: init at 2.4.1
This commit is contained in:
parent
5852a21819
commit
f6675420fc
45
pkgs/development/python-modules/pydaikin/default.nix
Normal file
45
pkgs/development/python-modules/pydaikin/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromBitbucket
|
||||
, freezegun
|
||||
, netifaces
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydaikin";
|
||||
version = "2.4.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "mustang51";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1624adp4lqd1n9flnf0wqrcibml2nd19ga3fmxzjg4x5z6767bs3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
netifaces
|
||||
urllib3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pydaikin" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Daikin HVAC appliances interface";
|
||||
homepage = "https://bitbucket.org/mustang51/pydaikin";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -5342,6 +5342,8 @@ in {
|
|||
|
||||
pycxx = callPackage ../development/python-modules/pycxx { };
|
||||
|
||||
pydaikin = callPackage ../development/python-modules/pydaikin { };
|
||||
|
||||
pydantic = callPackage ../development/python-modules/pydantic { };
|
||||
|
||||
pydbus = callPackage ../development/python-modules/pydbus { };
|
||||
|
|
Loading…
Reference in a new issue