diff --git a/pkgs/development/python-modules/flatten-dict/default.nix b/pkgs/development/python-modules/flatten-dict/default.nix index c9dd82e15e0a..03b699b3d593 100644 --- a/pkgs/development/python-modules/flatten-dict/default.nix +++ b/pkgs/development/python-modules/flatten-dict/default.nix @@ -4,24 +4,21 @@ fetchFromGitHub, poetry-core, pytestCheckHook, - six, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "flatten-dict"; - version = "0.4.2"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "ianlini"; repo = "flatten-dict"; - rev = version; - hash = "sha256-uHenKoD4eLm9sMREVuV0BB/oUgh4NMiuj+IWd0hlxNQ="; + tag = finalAttrs.version; + hash = "sha256-wzCuTnLOOeybhBPcyyPNPKWoJBHwaKkmARTzlg87wtU="; }; - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ six ]; + build-system = [ poetry-core ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -30,7 +27,8 @@ buildPythonPackage rec { meta = { description = "Module for flattening and unflattening dict-like objects"; homepage = "https://github.com/ianlini/flatten-dict"; + changelog = "https://github.com/ianlini/flatten-dict/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})