1{ lib, fetchPypi, buildPythonPackage, rply, pytestCheckHook, isPy3k }:
2
3buildPythonPackage rec {
4 pname = "baron";
5 version = "0.10.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "af822ad44d4eb425c8516df4239ac4fdba9fdb398ef77e4924cd7c9b4045bc2f";
10 };
11
12 propagatedBuildInputs = [ rply ];
13
14 nativeCheckInputs = [ pytestCheckHook ];
15
16 doCheck = isPy3k;
17
18 meta = with lib; {
19 homepage = "https://github.com/gristlabs/asttokens";
20 description = "Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task";
21 license = licenses.lgpl3Plus;
22 maintainers = with maintainers; [ marius851000 ];
23 };
24}