mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 16:40:09 +03:00
python3Packages.gast: 0.5.1 -> 0.5.3
This commit is contained in:
parent
01eaeb199d
commit
ae72567ccc
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user