22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
50 lines
872 B
Nix
50 lines
872 B
Nix
{ lib
|
|
, aiohttp
|
|
, bidict
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, humanize
|
|
, lxml
|
|
, pythonOlder
|
|
, requests
|
|
, slixmpp
|
|
, websockets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gehomesdk";
|
|
version = "0.4.25";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-TGitDdRvNKaZzbPrYvWx1bdbXAJW3OSnzbPBF2LpJW4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
bidict
|
|
humanize
|
|
lxml
|
|
requests
|
|
slixmpp
|
|
websockets
|
|
];
|
|
|
|
# Tests are not shipped and source is not tagged
|
|
# https://github.com/simbaja/gehome/issues/32
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"gehomesdk"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python SDK for GE smart appliances";
|
|
homepage = "https://github.com/simbaja/gehome";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|