diff --git a/pkgs/development/python-modules/simple-di/default.nix b/pkgs/development/python-modules/simple-di/default.nix index a185c8f71499..0b74fbd785c2 100644 --- a/pkgs/development/python-modules/simple-di/default.nix +++ b/pkgs/development/python-modules/simple-di/default.nix @@ -6,14 +6,16 @@ typing-extensions, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "simple-di"; version = "0.1.5"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "simple_di"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-GSuZne5M1PsRpdhhFlyq0C2PBhfA+Ab8Wwn5BfGgPKA="; }; @@ -35,4 +37,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ sauyon ]; }; -} +})