diff --git a/pkgs/development/python-modules/varint/default.nix b/pkgs/development/python-modules/varint/default.nix index 187a98154d62..30212770567a 100644 --- a/pkgs/development/python-modules/varint/default.nix +++ b/pkgs/development/python-modules/varint/default.nix @@ -4,14 +4,17 @@ lib, setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "varint"; version = "1.0.2"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; - sha256 = "a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5"; + pname = "varint"; + inherit (finalAttrs) version; + hash = "sha256-puzAI3esXunWWmqK1Fyf8drIzO4ZQApZUPtR1ZQhTKU="; }; build-system = [ setuptools ]; @@ -27,4 +30,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ rakesh4g ]; }; -} +})