diff --git a/pkgs/development/python-modules/beautiful-date/default.nix b/pkgs/development/python-modules/beautiful-date/default.nix index 6f48496dbc7c..abaf49324d9f 100644 --- a/pkgs/development/python-modules/beautiful-date/default.nix +++ b/pkgs/development/python-modules/beautiful-date/default.nix @@ -8,15 +8,17 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "beautiful-date"; version = "2.3.0"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "kuzmoyev"; repo = "beautiful-date"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-e6YJBaDwWqVehxBPOvsIdV4FIXlIwj29H5untXGJvT0="; }; @@ -37,4 +39,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +})