mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
26 lines
675 B
Nix
26 lines
675 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|