python3Packages.redbaron: init at 0.9.2

This commit is contained in:
marius david 2020-10-17 01:11:34 +02:00
parent eca871cbaa
commit f4a58813fa
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, fetchPypi, buildPythonPackage, baron, pytestCheckHook }:
buildPythonPackage rec {
pname = "redbaron";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7";
};
propagatedBuildInputs = [ baron ];
preCheck = ''
rm -rf tests/__pycache__
rm tests/test_bounding_box.py
''; #error about fixtures
checkInputs = [ pytestCheckHook ];
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 ];
};
}

View file

@ -6004,6 +6004,8 @@ in {
recommonmark = callPackage ../development/python-modules/recommonmark { };
redbaron = callPackage ../development/python-modules/redbaron { };
redis = callPackage ../development/python-modules/redis { };
rednose = callPackage ../development/python-modules/rednose { };