depot/third_party/nixpkgs/pkgs/development/python-modules/pyintesishome/default.nix
Default email a7848c7476 Project import generated by Copybara.
GitOrigin-RevId: 34ad3ffe08adfca17fcb4e4a47bb5f3b113687be
2021-10-17 11:34:42 +02:00

32 lines
668 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pyintesishome";
version = "1.8.1";
src = fetchFromGitHub {
owner = "jnimmo";
repo = "pyIntesisHome";
rev = version;
sha256 = "sha256-+bad3VIoP0sVw0blK9YIot2GfK5de4HTXv5/ipV2Nds=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyintesishome" ];
meta = with lib; {
description = "Python interface for IntesisHome devices";
homepage = "https://github.com/jnimmo/pyIntesisHome";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}