blob: 18c4e186e980f4250763f37eceac543b6a24a07c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
astunparse,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "gast";
version = "0.6.0";
pyproject = true;
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
];
};
}
|