summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/beniget/default.nix
blob: 35756f51007665fd3d2c1e25f0c1b2611d06f746 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  gast,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "beniget";
  version = "0.4.2.post1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "serge-sans-paille";
    repo = "beniget";
    tag = version;
    hash = "sha256-rNMgCEkI6p9KtLSz/2jVJ9rPeJzxv5rT+Pu6OHM8z70=";
  };

  build-system = [ setuptools ];

  dependencies = [ gast ];

  pythonImportsCheck = [ "beniget" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Extract semantic information about static Python code";
    homepage = "https://github.com/serge-sans-paille/beniget";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}