mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.pyxiaomigateway: init at 0.13.4
This commit is contained in:
parent
cad32a90a1
commit
569b2425e5
2 changed files with 32 additions and 0 deletions
30
pkgs/development/python-modules/pyxiaomigateway/default.nix
Normal file
30
pkgs/development/python-modules/pyxiaomigateway/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cryptography
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyxiaomigateway";
|
||||
version = "0.13.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "PyXiaomiGateway";
|
||||
rev = version;
|
||||
sha256 = "1xg89sdds04wgil88ihs84cjr3df6lajjbkyb1aymj638ibdyqns";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
|
||||
# Tests are not mocking the gateway completely
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "xiaomi_gateway" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to communicate with the Xiaomi Gateway";
|
||||
homepage = "https://github.com/Danielhiversen/PyXiaomiGateway/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6636,6 +6636,8 @@ in {
|
|||
|
||||
pyxeoma = callPackage ../development/python-modules/pyxeoma { };
|
||||
|
||||
pyxiaomigateway = callPackage ../development/python-modules/pyxiaomigateway { };
|
||||
|
||||
pyxl3 = callPackage ../development/python-modules/pyxl3 { };
|
||||
|
||||
pyxml = disabledIf isPy3k (callPackage ../development/python-modules/pyxml { });
|
||||
|
|
Loading…
Reference in a new issue