1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 gast,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "beniget";
12 version = "0.4.2.post1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "serge-sans-paille";
17 repo = "beniget";
18 tag = version;
19 hash = "sha256-rNMgCEkI6p9KtLSz/2jVJ9rPeJzxv5rT+Pu6OHM8z70=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ gast ];
25
26 pythonImportsCheck = [ "beniget" ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 meta = {
31 description = "Extract semantic information about static Python code";
32 homepage = "https://github.com/serge-sans-paille/beniget";
33 license = lib.licenses.bsd3;
34 maintainers = with lib.maintainers; [ ];
35 };
36}