Files
nixpkgs/pkgs/development/python-modules/gast/default.nix
T
Wolfgang Walther 2fa35382fc maintainers: drop jyp
Inactive since 2021. Not a member of the nixos org (anymore), thus can't
be pinged for review.
2025-07-20 14:28:52 +02:00

43 lines
797 B
Nix

{
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
];
};
}