diff --git a/pkgs/development/python-modules/bencoder/default.nix b/pkgs/development/python-modules/bencoder/default.nix index ea855b26ebfe..51ab63bab42e 100644 --- a/pkgs/development/python-modules/bencoder/default.nix +++ b/pkgs/development/python-modules/bencoder/default.nix @@ -4,13 +4,15 @@ buildPythonPackage, setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "bencoder"; version = "0.2.0"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-rENvM/3X51stkFdJHSq+77VjHvsTyBNAPbCtsRq1L8I="; }; @@ -27,4 +29,4 @@ buildPythonPackage rec { license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ somasis ]; }; -} +})