From 129eace28d9ffdba9280242c2582044853fbe4bb Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 13 Aug 2024 20:47:07 +0300 Subject: [PATCH] python312Packages.gast: modernize --- pkgs/development/python-modules/gast/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/gast/default.nix b/pkgs/development/python-modules/gast/default.nix index e275cc3170c2..75206d17ef88 100644 --- a/pkgs/development/python-modules/gast/default.nix +++ b/pkgs/development/python-modules/gast/default.nix @@ -16,8 +16,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "serge-sans-paille"; - repo = pname; - rev = version; + repo = "gast"; + rev = "refs/tags/${version}"; hash = "sha256-0y2bHT7YEfTvDxTm6yLl3GmnPUYEieoGEnwkzfA6mOg="; }; @@ -28,11 +28,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "gast" ]; - meta = with lib; { + meta = { description = "Compatibility layer between the AST of various Python versions"; homepage = "https://github.com/serge-sans-paille/gast/"; - license = licenses.bsd3; - maintainers = with maintainers; [ + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ jyp cpcloud ];