diff --git a/pkgs/development/python-modules/before-after/default.nix b/pkgs/development/python-modules/before-after/default.nix index 692af2f66298..5d6a58aad6d4 100644 --- a/pkgs/development/python-modules/before-after/default.nix +++ b/pkgs/development/python-modules/before-after/default.nix @@ -7,14 +7,16 @@ lib, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "before-after"; version = "1.0.1"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "before_after"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-x9T5uLi7UgldoUxLnFnqaz9bnqn9zop7/HLsrg9aP4U="; }; @@ -42,4 +44,4 @@ buildPythonPackage rec { maintainers = [ ]; license = lib.licenses.gpl2Only; }; -} +})