diff --git a/pkgs/development/python-modules/beautifultable/default.nix b/pkgs/development/python-modules/beautifultable/default.nix index a3654f1df2d4..516765c574de 100644 --- a/pkgs/development/python-modules/beautifultable/default.nix +++ b/pkgs/development/python-modules/beautifultable/default.nix @@ -7,15 +7,17 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "beautifultable"; version = "1.1.0"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "pri22296"; repo = "beautifultable"; - rev = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/SReCEvSwiNjBoz/3tGJ9zUNBAag4mLsHlUXwm47zCw="; }; @@ -35,4 +37,4 @@ buildPythonPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})