2018-07-19 17:36:05 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, glibcLocales
|
2019-10-17 08:24:37 +01:00
|
|
|
, pytestrunner
|
|
|
|
, pytestCheckHook
|
2018-07-19 17:36:05 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Arpeggio";
|
2021-06-18 22:47:08 +01:00
|
|
|
version = "1.10.2";
|
2018-07-19 17:36:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:08 +01:00
|
|
|
sha256 = "bfe349f252f82f82d84cb886f1d5081d1a31451e6045275e9f90b65d0daa06f1";
|
2018-07-19 17:36:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Shall not be needed for next release
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2019-10-17 08:24:37 +01:00
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
disabledTests = [ "test_examples" "test_issue_22" ];
|
|
|
|
|
|
|
|
dontUseSetuptoolsCheck = true;
|
|
|
|
|
2018-07-19 17:36:05 +01:00
|
|
|
meta = {
|
|
|
|
description = "Packrat parser interpreter";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|