diff --git a/pkgs/development/python-modules/pyflume/default.nix b/pkgs/development/python-modules/pyflume/default.nix index 1459c88a68de..fc0ef714ce99 100644 --- a/pkgs/development/python-modules/pyflume/default.nix +++ b/pkgs/development/python-modules/pyflume/default.nix @@ -5,27 +5,27 @@ , pythonOlder , pyjwt , ratelimit -, pytz , requests , requests-mock }: buildPythonPackage rec { pname = "pyflume"; - version = "0.7.1"; - disabled = pythonOlder "3.7"; + version = "0.7.2"; + format = "setuptools"; + + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "ChrisMandich"; repo = "PyFlume"; - rev = "v${version}"; - hash = "sha256-Ka90n9Esv6tm310DjYeosBUhudeVoEJzt45L40+0GwQ="; + rev = "refs/tags/v${version}"; + hash = "sha256-wmaOOM8y7LthEgf3Uyv1N4ODviPGSlIQejC01IlhaJw="; }; propagatedBuildInputs = [ pyjwt ratelimit - pytz requests ]; @@ -34,11 +34,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "pyflume" ]; + pythonImportsCheck = [ + "pyflume" + ]; meta = with lib; { description = "Python module to work with Flume sensors"; homepage = "https://github.com/ChrisMandich/PyFlume"; + changelog = "https://github.com/ChrisMandich/PyFlume/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };