python3Packages.gast: 0.5.1 -> 0.5.3

This commit is contained in:
Fabian Affolter 2022-01-15 13:52:32 +01:00 committed by Martin Weinelt
parent 01eaeb199d
commit ae72567ccc

View file

@ -1,24 +1,36 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, astunparse
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "gast";
version = "0.5.1";
version = "0.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "serge-sans-paille";
repo = "gast";
repo = pname;
rev = version;
sha256 = "1gph45frnj47lfr6idiyxrb3gk7vzc9rni9cijmcyz10dyx5kgwa";
sha256 = "sha256-0y2bHT7YEfTvDxTm6yLl3GmnPUYEieoGEnwkzfA6mOg=";
};
checkInputs = [ astunparse ];
checkInputs = [
astunparse
pytestCheckHook
];
pythonImportsCheck = [
"gast"
];
meta = with lib; {
description = "GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module.";
description = "Compatibility layer between the AST of various Python versions";
homepage = "https://github.com/serge-sans-paille/gast/";
license = licenses.bsd3;
maintainers = with maintainers; [ jyp cpcloud ];