anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / gast / default.nix
blobd62c2bc4cd418e80b7769775bde2aa54559e8297
2   lib,
3   astunparse,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "gast";
13   version = "0.6.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "serge-sans-paille";
20     repo = "gast";
21     rev = "refs/tags/${version}";
22     hash = "sha256-zrbxW8qWhCY6tObP+/WDReoCnlCpMEzQucX2inpRTL4=";
23   };
25   build-system = [ setuptools ];
27   nativeCheckInputs = [
28     astunparse
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "gast" ];
34   meta = {
35     description = "Compatibility layer between the AST of various Python versions";
36     homepage = "https://github.com/serge-sans-paille/gast/";
37     license = lib.licenses.bsd3;
38     maintainers = with lib.maintainers; [
39       jyp
40       cpcloud
41     ];
42   };