Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
797 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
astunparse,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "gast";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "serge-sans-paille";
repo = "gast";
tag = version;
hash = "sha256-zrbxW8qWhCY6tObP+/WDReoCnlCpMEzQucX2inpRTL4=";
};
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
];
};
}