depot/third_party/nixpkgs/pkgs/development/python-modules/heatzypy/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

42 lines
766 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, requests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "heatzypy";
version = "2.0.4";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Cyr-ius";
repo = pname;
rev = version;
sha256 = "sha256-i5tGV9nJrLRqZwJZ3y5c65MHykz34bnr3yz+OdaQEoM=";
};
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 ];
};
}