68b4484182
This commit was automatically generated using update-python-libraries.
40 lines
749 B
Nix
40 lines
749 B
Nix
{
|
|
lib,
|
|
astunparse,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gast";
|
|
version = "0.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "serge-sans-paille";
|
|
repo = "gast";
|
|
tag = version;
|
|
hash = "sha256-paaXVdhstNlLc/zv/L1tHuv9IZ0Vz/vz2x2y2ePpXRc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
astunparse
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "gast" ];
|
|
|
|
meta = {
|
|
description = "Compatibility layer between the AST of various Python versions";
|
|
homepage = "https://github.com/serge-sans-paille/gast/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
cpcloud
|
|
];
|
|
};
|
|
}
|