Files
nixpkgs/pkgs/development/python-modules/pyfronius/default.nix
2025-09-22 09:41:28 +00:00

42 lines
849 B
Nix

{
lib,
aiohttp,
aiounittest,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyfronius";
version = "0.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nielstron";
repo = "pyfronius";
tag = version;
hash = "sha256-Q1GMt9K9+wohFogXwGyAhyfSxSsmo+80Kca7F7VhksA=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aiounittest
pytestCheckHook
];
pythonImportsCheck = [ "pyfronius" ];
meta = with lib; {
description = "Python module to communicate with Fronius Symo";
homepage = "https://github.com/nielstron/pyfronius";
changelog = "https://github.com/nielstron/pyfronius/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}