depot/third_party/nixpkgs/pkgs/development/python-modules/pymiele/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

45 lines
832 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 ];
};
}