python312Packages.pyfronius: refactor

This commit is contained in:
Fabian Affolter
2024-09-21 23:50:51 +02:00
parent e433609e58
commit ae384700d0
@@ -18,13 +18,13 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "nielstron";
repo = "pyfronius";
rev = "release-${version}";
rev = "refs/tags/release-${version}";
hash = "sha256-7GtY/6uuLe7K9T7xMVt2ytpA6MKVWnyEoLtA5dSMiH4=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [ aiohttp ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -34,7 +34,7 @@ buildPythonPackage rec {
description = "Python module to communicate with Fronius Symo";
homepage = "https://github.com/nielstron/pyfronius";
changelog = "https://github.com/nielstron/pyfronius/releases/tag/release-${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}