diff --git a/pkgs/development/python-modules/pybravia/default.nix b/pkgs/development/python-modules/pybravia/default.nix index 31c3b6f60b12..c082e7bd75ce 100644 --- a/pkgs/development/python-modules/pybravia/default.nix +++ b/pkgs/development/python-modules/pybravia/default.nix @@ -3,27 +3,24 @@ aiohttp, buildPythonPackage, fetchFromGitHub, - poetry-core, - pythonOlder, + hatchling, }: buildPythonPackage rec { pname = "pybravia"; - version = "0.3.4"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + version = "0.4.1"; + pyproject = true; src = fetchFromGitHub { owner = "Drafteed"; repo = "pybravia"; tag = "v${version}"; - hash = "sha256-1LfYEVclRneU3eD52kvzjLYyGdzYSWVDQ5EADOviglw="; + hash = "sha256-VNdjdNmWcl8s1jRlA40DHlku3CPL59nJ4pZklZ452FU="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ aiohttp ]; + dependencies = [ aiohttp ]; # Module has no tests doCheck = false; @@ -33,7 +30,7 @@ buildPythonPackage rec { meta = { description = "Library for remote control of Sony Bravia TVs 2013 and newer"; homepage = "https://github.com/Drafteed/pybravia"; - changelog = "https://github.com/Drafteed/pybravia/releases/tag/v${version}"; + changelog = "https://github.com/Drafteed/pybravia/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };