depot/third_party/nixpkgs/pkgs/development/python-modules/heatzypy/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

42 lines
781 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, requests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "heatzypy";
version = "2.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Cyr-ius";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-4/v0xodpJzVi6/ciW5icqDFGCtBFKtGoMB92CknH9xw=";
};
propagatedBuildInputs = [
aiohttp
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"heatzypy"
];
meta = with lib; {
description = "Python module to interact with Heatzy devices";
homepage = "https://github.com/Cyr-ius/heatzypy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}