at master 768 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 baron, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "redbaron"; 11 version = "0.9.2"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7"; 17 }; 18 19 propagatedBuildInputs = [ baron ]; 20 21 preCheck = '' 22 rm -rf tests/__pycache__ 23 rm tests/test_bounding_box.py 24 ''; # error about fixtures 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/PyCQA/redbaron"; 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 }; 34}