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";
|
2020-11-19 20:27:26 +00:00
|
|
|
version = "1.10.1";
|
2018-07-19 17:36:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 20:27:26 +00:00
|
|
|
sha256 = "920d12cc762edb2eb56daae64a14c93e43dc181b481c88fc79314c0df6ee639e";
|
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;
|
|
|
|
};
|
|
|
|
}
|