depot/third_party/nixpkgs/pkgs/development/python-modules/pysensibo/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

38 lines
783 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pysensibo";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
inherit pname version;
hash = "sha256-yITcVEBtqH1B+MyhQweOzmdgPgWrueAkczp/UsT4J/4=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
# No tests implemented
doCheck = false;
pythonImportsCheck = [ "pysensibo" ];
meta = with lib; {
description = "Module for interacting with Sensibo";
homepage = "https://github.com/andrey-git/pysensibo";
changelog = "https://github.com/andrey-git/pysensibo/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}