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