From ae384700d04546dd57f9d32fe75e93f6d53557f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 Sep 2024 23:50:51 +0200 Subject: [PATCH] python312Packages.pyfronius: refactor --- pkgs/development/python-modules/pyfronius/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyfronius/default.nix b/pkgs/development/python-modules/pyfronius/default.nix index 7887c9f5f579..98081c9ca872 100644 --- a/pkgs/development/python-modules/pyfronius/default.nix +++ b/pkgs/development/python-modules/pyfronius/default.nix @@ -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 ]; }; }