depot/third_party/nixpkgs/pkgs/development/python-modules/smarthab/default.nix
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

32 lines
658 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "smarthab";
version = "0.21";
src = fetchPypi {
pname = "SmartHab";
inherit version;
sha256 = "bf929455a2f7cc1e275b331de73d983587138a8d9179574988ba05fa152d3ccf";
};
propagatedBuildInputs = [
aiohttp
];
# no tests on PyPI, no tags on GitLab
doCheck = false;
pythonImportsCheck = [ "pysmarthab" ];
meta = with lib; {
description = "Control devices in a SmartHab-powered home";
homepage = "https://gitlab.com/outadoc/python-smarthab";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}