depot/third_party/nixpkgs/pkgs/development/python-modules/pymiele/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
829 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pymiele";
version = "0.1.7";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-nlilHcBdWpCIknhE/RRvcmuz1waNdmcPt++Vi3amvHg=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
async-timeout
];
# No tests
doCheck = false;
pythonImportsCheck = [ "pymiele" ];
meta = with lib; {
changelog = "https://github.com/astrandb/pymiele/releases/tag/v${version}";
description = "Lib for Miele integration with Home Assistant";
homepage = "https://github.com/astrandb/pymiele";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}