evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / redbaron / default.nix
blob5938221f7c0d0f3c6abfa3726327b4ac2447545c
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   baron,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "redbaron";
11   version = "0.9.2";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7";
17   };
19   propagatedBuildInputs = [ baron ];
21   preCheck = ''
22     rm -rf tests/__pycache__
23     rm tests/test_bounding_box.py
24   ''; # error about fixtures
26   nativeCheckInputs = [ pytestCheckHook ];
28   meta = with lib; {
29     homepage = "https://github.com/gristlabs/asttokens";
30     description = "Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task";
31     license = licenses.lgpl3Plus;
32     maintainers = with maintainers; [ marius851000 ];
33   };