about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/asttokens/default.nix
blob: 3aba3a37c9e1ba3444916a192ac63b20f165e772 (plain) (blame)
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
{ lib, fetchPypi, buildPythonPackage, astroid, six, coverage
, lazy-object-proxy, nose, wrapt
}:

buildPythonPackage rec {
  pname = "asttokens";
  version = "1.1.13";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1vd4djlxmgznz84gzakkv45avnrcpgl1kir92l1pxyp0z5c0dh2m";
  };

  propagatedBuildInputs = [ lazy-object-proxy six wrapt astroid ];

  checkInputs = [ coverage nose ];

  meta = with lib; {
    homepage = https://github.com/gristlabs/asttokens;
    description = "Annotate Python AST trees with source text and token information";
    license = licenses.asl20;
    platforms = platforms.all;
    maintainers = with maintainers; [ leenaars ];
  };
}