about summary refs log tree commit diff
path: root/pkgs/development/python-modules/baron/default.nix
blob: 8e766dc78486656a3db3efb6f85265e351ae7e52 (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
26
27
28
29
30
31
32
{
  lib,
  fetchPypi,
  buildPythonPackage,
  rply,
  pytestCheckHook,
  isPy3k,
}:

buildPythonPackage rec {
  pname = "baron";
  version = "0.10.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "af822ad44d4eb425c8516df4239ac4fdba9fdb398ef77e4924cd7c9b4045bc2f";
  };

  propagatedBuildInputs = [ rply ];

  nativeCheckInputs = [ pytestCheckHook ];

  doCheck = isPy3k;

  meta = with lib; {
    homepage = "https://github.com/gristlabs/asttokens";
    description = "Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ marius851000 ];
  };
}