Diff: https://github.com/nielstron/pyfronius/compare/refs/tags/0.7.7...0.8.0 Changelog: https://github.com/nielstron/pyfronius/releases/tag/0.8.0
42 lines
849 B
Nix
42 lines
849 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aiounittest,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfronius";
|
|
version = "0.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nielstron";
|
|
repo = "pyfronius";
|
|
tag = version;
|
|
hash = "sha256-Ns4OpBvj40aQkCBTnKHMTSpyNu5zgfXDtmz1aW3bmEU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|