python3Packages.tatsu: 5.0.0 -> 5.5.0
This commit is contained in:
parent
779428586c
commit
96cb2a4d79
@ -6,22 +6,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "TatSu";
|
pname = "TatSu";
|
||||||
version = "5.0.0";
|
version = "5.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neogeny";
|
owner = "neogeny";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1c16fcxf0xjkh5py9bnj6ljb9krhrj57mkwayl1w1dvzwl5lkgj3";
|
sha256 = "07bmdnwh99p60cgzhlb8s5vwi5v4r5zi8shymxnnarannkc66hzn";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Since version 5.0.0 only >=3.8 is officially supported, but ics is not
|
disabled = pythonOlder "3.8";
|
||||||
# compatible with Python 3.8 due to aiohttp:
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "python_requires='>=3.8'," "python_requires='>=3.7',"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
propagatedBuildInputs = [ colorama mypy pyyaml regex ]
|
propagatedBuildInputs = [ colorama mypy pyyaml regex ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user